aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kronqvist <work.joelkronqvist@gmail.com>2022-11-02 16:37:31 +0200
committerJoel Kronqvist <work.joelkronqvist@gmail.com>2022-11-02 16:37:31 +0200
commitcf1dd1d7bd128bf770159032975bc014497507ca (patch)
tree0e29ea249c8d815c8108b16101afadb741981005
parent513d2cb863136b5835469539a00d68a4c7d010e5 (diff)
downloadLYLLRuoka-cf1dd1d7bd128bf770159032975bc014497507ca.tar.gz
LYLLRuoka-cf1dd1d7bd128bf770159032975bc014497507ca.zip
Added favicon
-rw-r--r--Cont/404/index.html1
-rw-r--r--Cont/Images/favicon.icobin0 -> 766 bytes
-rw-r--r--Cont/devs/index.html1
-rw-r--r--Cont/index.html1
-rw-r--r--README.md2
-rw-r--r--server.js3
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
new file mode 100644
index 0000000..83813bb
--- /dev/null
+++ b/Cont/Images/favicon.ico
Binary files 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 @@
<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>
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";