diff options
author | Joel Kronqvist <work.joelkronqvist@gmail.com> | 2022-11-02 16:37:31 +0200 |
---|---|---|
committer | Joel Kronqvist <work.joelkronqvist@gmail.com> | 2022-11-02 16:37:31 +0200 |
commit | cf1dd1d7bd128bf770159032975bc014497507ca (patch) | |
tree | 0e29ea249c8d815c8108b16101afadb741981005 | |
parent | 513d2cb863136b5835469539a00d68a4c7d010e5 (diff) | |
download | LYLLRuoka-cf1dd1d7bd128bf770159032975bc014497507ca.tar.gz LYLLRuoka-cf1dd1d7bd128bf770159032975bc014497507ca.zip |
Added favicon
-rw-r--r-- | Cont/404/index.html | 1 | ||||
-rw-r--r-- | Cont/Images/favicon.ico | bin | 0 -> 766 bytes | |||
-rw-r--r-- | Cont/devs/index.html | 1 | ||||
-rw-r--r-- | Cont/index.html | 1 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | server.js | 3 |
6 files changed, 6 insertions, 2 deletions
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 @@ <link href="/index.css" rel="stylesheet" type="text/css"> <link href="/non-main.css" rel="stylesheet" type="text/css"> <link href="/404/index.css" rel="stylesheet" type="text/css"> + <link rel="icon" type="image/x-icon" href="/Images/favicon.ico"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> diff --git a/Cont/Images/favicon.ico b/Cont/Images/favicon.ico Binary files differnew file mode 100644 index 0000000..83813bb --- /dev/null +++ b/Cont/Images/favicon.ico 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 @@ <link href="/index.css" rel="stylesheet" type="text/css"> <link href="/non-main.css" rel="stylesheet" type="text/css"> <link href="/devs/index.css" rel="stylesheet" type="text/css"> + <link rel="icon" type="image/x-icon" href="/Images/favicon.ico"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> 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 @@ <meta charset="utf-8"> <title>LYLL-ruokailuvuoro</title> <link href="/index.css" rel="stylesheet" type="text/css"> + <link rel="icon" type="image/x-icon" href="/Images/favicon.ico"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> @@ -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`): ``` @@ -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"; |