aboutsummaryrefslogtreecommitdiff
path: root/src/server.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2019-01-26 16:36:37 -0500
committerMark Powers <markppowers0@gmail.com>2019-01-26 16:36:37 -0500
commitedc7c8a3abacd7bc5aee50ffda3697333f91905a (patch)
tree49a2a5339911b2e3f957b4d2857334fa108f8e68 /src/server.js
parent93d4d8a1eba6ab6b714d330dc266f7e41e09a31e (diff)
Add 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 241f3fc..a487af5 100644
--- a/src/server.js
+++ b/src/server.js
@@ -20,6 +20,7 @@ function setUpRoutes(){
})
+ server.get('/favicon.ico', (req, res) => res.sendFile(__dirname + "/icon/favicon.ico"))
server.get('/css/:id', (req, res) => {
res.sendFile(__dirname + "/css/"+req.params.id);
});