Skip to content

Commit a9e722f

Browse files
committed
server-ssl.js
Add restart countdown timer, if the handler is defined the countdown will happen. countdownHandler - (optional) paramterless function that will fire every second during the restart count down countdownTime - (optional) how long in seconds to countdown before restarting, default 30 seconds https://i.imgur.com/ZX5TkiI.png /root │ ├── /error │ ├── 404.html │ └── 500.html │ ├── /ssl │ ├── /openssl │ ├── /module │ │ ├── /crypt │ │ ├── /jose │ │ └── lets-encrypt-acme-client.js │ │ │ ├── acmeKeys │ ├── private-key.pem │ └── certificate.pem │ └── ssl.js │ ├── /website │ └── index.html <---- Your website goes here │ ├── node.exe ├── server-ssl.js └── start-windows.bat
1 parent f5d9d0c commit a9e722f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ This structure is designed to keep the project organized and maintainable, separ
110110

111111
The server is configured to serve custom `404` and `500` error pages.
112112

113-
[![](https://i.imgur.com/GDyCxwu.png)](https://github.com/FirstTimeEZ/server-ssl)
113+
[![](https://i.imgur.com/w4Awnc1.png)](https://github.com/FirstTimeEZ/server-ssl)
114114

115115
Currently everything is treated like a `Server Error` except for `Page Not Found`
116116

117-
[![](https://i.imgur.com/cJ7gzkg.png)](https://github.com/FirstTimeEZ/server-ssl)
117+
[![](https://i.imgur.com/mQlVhjL.png)](https://github.com/FirstTimeEZ/server-ssl)
118118

119119
--------
120120

error/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
--background-color: #0f0f0f;
1616
--background-secondary: #1d2022;
1717
--border-color: #171a1b;
18-
--shadow: 0.1px 0.3px 0.4px 0.6px var(--accent-color);
18+
--shadow: 0 1px 3px var(--accent-color);
1919
--radius: 4px;
2020
--spacing: 0.3rem;
2121
}

error/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
--background-color: #0f0f0f;
1616
--background-secondary: #1d2022;
1717
--border-color: #171a1b;
18-
--shadow: 0.1px 0.3px 0.4px 0.6px var(--accent-color);
18+
--shadow: 0 1px 3px var(--accent-color);
1919
--radius: 4px;
2020
--spacing: 0.3rem;
2121
}

0 commit comments

Comments
 (0)