Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Commit 1e0baee

Browse files
author
bhasher
committed
Update text on start
1 parent 0574586 commit 1e0baee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/config dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"DAYS_TO_DELETE_DOCUMENT": 7,
99
"DISCORD_WEBHOOK": null,
1010
"SSL": false,
11-
"REDIRECT_PORT": null,
1211
"KEY_FILE_SSL": null,
1312
"CERT_FILE_SSL" : null,
13+
"REDIRECT_PORT": null,
1414
"METRICS": false,
1515
"METRICS_PORT": 8000
1616
}

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const server = http.createServer(options, app);
3131

3232
if (ssl) {
3333
require('http').createServer(app).listen(configs.REDIRECT_PORT, host, () => {
34-
console.log('http requests are redirected to https.')
34+
console.log(`http requests from ${configs.REDIRECT_PORT} are redirected to https on ${configs.PORT}`)
3535
})
3636
}
3737

0 commit comments

Comments
 (0)