From c18dd9ef6c9b3407862db7f01372bc65bb1c3721 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 22 Nov 2020 19:37:10 -0600 Subject: Add svg favicon --- src/server.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server.js') diff --git a/src/server.js b/src/server.js index e82fc12..2198923 100644 --- a/src/server.js +++ b/src/server.js @@ -355,6 +355,7 @@ function setUpRoutes(models, jwtFunctions, database, templates) { server.get('/favicon.ico', (req, res) => res.sendFile(__dirname + "/icon/favicon.ico")) + server.get('/favicon.svg', (req, res) => res.sendFile(__dirname + "/icon/favicon.svg")) server.get('/css/:id', (req, res) => { res.sendFile(__dirname + "/css/" + req.params.id); }); -- cgit v1.2.3