aboutsummaryrefslogtreecommitdiff
path: root/src/server.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-11-22 19:37:10 -0600
committerMark Powers <markppowers0@gmail.com>2020-11-22 19:37:10 -0600
commitc18dd9ef6c9b3407862db7f01372bc65bb1c3721 (patch)
treee4dfd6e1dfb744b0266b97679059712875ef741c /src/server.js
parent63668ca89f055b2233a8aa6caf4213853918d68d (diff)
Add svg favicon
Diffstat (limited to 'src/server.js')
-rw-r--r--src/server.js1
1 files changed, 1 insertions, 0 deletions
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);
});