Initial fork commit
This commit is contained in:
parent
f3fe584bfa
commit
34d9abec19
25 changed files with 36 additions and 3840 deletions
2
app.js
2
app.js
|
|
@ -3,11 +3,13 @@ import https from "https";
|
|||
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");
|
||||
const port443 = parseInt(process.env.HTTPS_PORT || "443");
|
||||
|
||||
const main = async () => {
|
||||
await SniPrepare();
|
||||
const httpsServer = https.createServer({
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue