change port to 4080 and 4443

This commit is contained in:
Nikola Petrov 2023-07-30 16:22:11 +02:00
parent e13dcdcb8b
commit e1df08d0cf

7
app.js
View File

@ -8,8 +8,8 @@ const https = require('https');
const fs = require('fs');
const hostname = 'petrov.nexus';
const httpPort = 80;
const httpsPort = 443;
const httpPort = 4080;
const httpsPort = 4443;
const httpsOptions = {
key: fs.readFileSync('./archive/server.key'),
@ -102,7 +102,4 @@ httpsServer.listen(httpsPort, () => {
console.log(`Server running at https://${hostname}:${httpsPort}/`);
});
module.exports = app;