fix(init): include favicon.ico in init package (#2943)
Fixes a regression introduced by https://github.com/denoland/fresh/pull/2867 Fixes https://github.com/denoland/fresh/issues/2941
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
+1
-1
@@ -395,7 +395,7 @@ ${GRADIENT_CSS}`;
|
|||||||
await writeFile(
|
await writeFile(
|
||||||
"static/favicon.ico",
|
"static/favicon.ico",
|
||||||
await Deno.readFile(
|
await Deno.readFile(
|
||||||
new URL(import.meta.resolve("../../www/static/favicon.ico")),
|
path.join(import.meta.dirname!, "assets", "favicon.ico"),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user