« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/web-routes.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/web-routes.js')
-rw-r--r--src/web-routes.js8
1 files changed, 8 insertions, 0 deletions
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',
+      },
     ]),
 
     () => {