Omit port 80
This commit is contained in:
parent
826562d03c
commit
d3936038b1
1 changed files with 1 additions and 2 deletions
3
app.js
3
app.js
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue