From cf1dd1d7bd128bf770159032975bc014497507ca Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Wed, 2 Nov 2022 16:37:31 +0200 Subject: Added favicon --- Cont/404/index.html | 1 + Cont/Images/favicon.ico | Bin 0 -> 766 bytes Cont/devs/index.html | 1 + Cont/index.html | 1 + README.md | 2 +- server.js | 3 ++- 6 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 Cont/Images/favicon.ico diff --git a/Cont/404/index.html b/Cont/404/index.html index 5b01684..6b82d01 100644 --- a/Cont/404/index.html +++ b/Cont/404/index.html @@ -6,6 +6,7 @@ + diff --git a/Cont/Images/favicon.ico b/Cont/Images/favicon.ico new file mode 100644 index 0000000..83813bb Binary files /dev/null and b/Cont/Images/favicon.ico differ diff --git a/Cont/devs/index.html b/Cont/devs/index.html index 69116c6..a4abbdb 100644 --- a/Cont/devs/index.html +++ b/Cont/devs/index.html @@ -6,6 +6,7 @@ + diff --git a/Cont/index.html b/Cont/index.html index d1c0568..694e4c9 100644 --- a/Cont/index.html +++ b/Cont/index.html @@ -4,6 +4,7 @@ LYLL-ruokailuvuoro + diff --git a/README.md b/README.md index ae86778..d2f8d41 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Servers Up And Running! ``` Great! Now you have the server running. If you restart the server or close the terminal window or anything else, you will obviously have to restart the server. -You can make the server run automatically on reboot. This hasn't been tested, though... +You can make the server run automatically on reboot. Add to **roots** crontab (run `sudo crontab -e`): ``` diff --git a/server.js b/server.js index 11c50bd..66f5b19 100644 --- a/server.js +++ b/server.js @@ -21,7 +21,8 @@ async function init() "./Cont/404/index.css": buildDefault, "./Cont/non-main.css": buildDefault, "./Cont/Images/help.png": buildImage, - "./Cont/Images/back.png": buildImage + "./Cont/Images/back.png": buildImage, + "./Cont/Images/favicon.ico": buildImage, }; const errorPath = "./Cont/404/index.html"; -- cgit v1.2.3