Cyclone :)

This commit is contained in:
SmartCoder3000 2022-06-17 18:00:43 -04:00 committed by GitHub
parent e9a5425596
commit 8f075f990d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ const serve = new nodeStatic.Server('static/');
const patronServe = new nodeStatic.Server('static/');
const fakeServe = new nodeStatic.Server('fakeStatic/');
const server = https.createServer();
const server = http.createServer();
fs.readdir('/etc/letsencrypt/live', { withFileTypes: true }, (err, files) => {
if (!err)
@ -39,4 +39,4 @@ server.on('upgrade', (req, socket, head) => {
socket.end();
});
server.listen(443);
server.listen(process.env.PORT || 443);