Omit port 80

This commit is contained in:
Pierre Lannoy 2023-12-13 19:55:44 +01:00
commit d3936038b1
Signed by: Pierre Lannoy
GPG key ID: D27231EF87D53F31

3
app.js
View file

@ -4,7 +4,6 @@ import app from "./index.js";
import listener from "./src/client.js";
import { SniPrepare, SniListener } from "./src/sni.js";
// production endpoint (use pm2/phusion/whatever)
config();
const port80 = parseInt(process.env.HTTP_PORT || "80");
@ -16,7 +15,7 @@ const main = async () => {
SNICallback: SniListener,
}, listener);
httpsServer.listen(port443);
app.listen(port80);
//app.listen(port80);
};
main().catch((err) => {