Skip to content

Commit

Permalink
fix(deno): attempt same fix as denoland#150
Browse files Browse the repository at this point in the history
  • Loading branch information
tdharris committed Oct 4, 2024
1 parent 9541ca0 commit 750836a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export async function configureBlog(
let directory;

try {
const blogPath = fromFileUrl(url);
const blogPath = fromFileUrl(IS_DEV ? `file://${url}` : url);
directory = dirname(blogPath);
} catch (e) {
console.error(e);
Expand Down

0 comments on commit 750836a

Please sign in to comment.