From edc7c8a3abacd7bc5aee50ffda3697333f91905a Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 26 Jan 2019 16:36:37 -0500 Subject: Add favicon --- src/html/index.html | 5 +++-- src/icon/favicon.ico | Bin 0 -> 22382 bytes src/server.js | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/icon/favicon.ico diff --git a/src/html/index.html b/src/html/index.html index 087cf5b..dea7073 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -4,8 +4,9 @@ Mark's Kitchen - - + + +

Welcome to Mark's Kitchen

diff --git a/src/icon/favicon.ico b/src/icon/favicon.ico new file mode 100644 index 0000000..736fb85 Binary files /dev/null and b/src/icon/favicon.ico differ 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); }); -- cgit v1.2.3