diff options
| -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";  | 
