From d1319becac318e3ee46b6bb55b722eaf133628aa Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 22 Apr 2025 14:39:37 -0300 Subject: web-routes: use web route for favicon.ico Lets live-dev-server have a favicon. --- src/web-routes.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/web-routes.js') diff --git a/src/web-routes.js b/src/web-routes.js index b93607d6..a49f6d0e 100644 --- a/src/web-routes.js +++ b/src/web-routes.js @@ -103,6 +103,14 @@ export async function identifyDynamicWebRoutes({ to: ['thumb.root'], statically: 'symlink', }, + + // {statically: 'copy'} is not workable for individual files + // at the moment, so this remains a symlink. + { + from: path.join(path.resolve(mediaPath), 'favicon.ico'), + to: ['shared.path', 'favicon.ico'], + statically: 'symlink', + }, ]), () => { -- cgit 1.3.0-6-gf8a5