Skip to content

Commit aca92c4

Browse files
committed
server-ssl.js
change "website" to "wwwroot" /root │ ├── /error │ ├── 404.html │ └── 500.html │ ├── /ssl │ ├── /openssl │ │ │ ├── private-key.pem │ └── certificate.pem │ └── ssl.js │ ├── /wwwroot │ └── index.html <---- Your website goes here │ ├── server-ssl.js <--- server config └── start-windows.bat
1 parent 52c18ac commit aca92c4

7 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The easiest usage would be to serve a website:
5050
| `--portHttp=` | The port number for HTTP that will be redirected | `80` |
5151
| `--cert=` | The path to the `SSL` certificate file. | `"certificate.pem"` |
5252
| `--pk=` | The path to the private key file for the `SSL` certificate. | `"private-key.pem"` |
53-
| `--site=` | The directory for the website files | `"website"` |
53+
| `--site=` | The directory for the website files | `"wwwroot"` |
5454
| `--error=` | The directory for error messages (404,500) | `"error"` |
5555
| `--entry=` | The page to use for the entry point | `"index.html"` |
5656

@@ -114,7 +114,7 @@ This layout keeps the project organized and maintainable, separating error handl
114114
│ └── certificate.pem
115115
│ └── ssl.js
116116
117-
├── /website
117+
├── /wwwroot
118118
│ └── index.html <---- Your website goes here
119119
120120
├── server-ssl.js <--- server config

ssl/ssl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const STATE = {
114114

115115
!STATE.optPk && (STATE.optPk = 'private-key.pem');
116116
!STATE.optCert && (STATE.optCert = 'certificate.pem');
117-
!STATE.optWebsite && (STATE.optWebsite = 'website');
117+
!STATE.optWebsite && (STATE.optWebsite = 'wwwroot');
118118
!STATE.optError && (STATE.optError = 'error');
119119
!STATE.optEntry && (STATE.optEntry = 'index.html');
120120

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)