Skip to content

Commit 4a7ce1d

Browse files
committed
server-ssl.js
create production/staging folders in ssl folder ssl/production for production certificates/keys ssl/staging for staging certificates/keys the production certificate doesn't get deleted every time you use `--staging` combines with the previous commit to make sure the ARI always works updated the layout diagram /root │ ├── /error │ ├── 404.html │ └── 500.html │ ├── /ssl │ ├── /openssl │ ├── /production │ │ │ │ │ ├── ... │ │ ├── private-key.pem │ │ └── certificate.pem │ │ │ ├── /staging │ │ │ │ │ ├── ... │ │ ├── private-key.pem │ │ └── certificate.pem │ │ │ └── state.js │ ├── /wwwroot │ └── index.html <---- Your website goes here │ ├── server-ssl.js <--- server config └── start-windows.bat
1 parent d6c885f commit 4a7ce1d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

start-windows.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ if NOT "%PORT%"=="" ( echo Port: %PORT% )
4747

4848
IF "%STAGING%"=="1" (
4949
set "PATH1=staging"
50-
echo !PATH1!
5150
)
5251

53-
if NOT EXIST "%currentPath%/ssl/%PATH1%" (
52+
if NOT EXIST "%currentPath%/ssl/!PATH1!" (
5453
mkdir "%currentPath%/ssl/%PATH1%"
5554
)
5655

0 commit comments

Comments
 (0)