Initial proxy artifact

This commit is contained in:
hwhung
2026-05-07 19:13:04 +08:00
commit 8c68a30044
20 changed files with 1309 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import app from "./app";
import { config } from "./lib/config";
import { logger } from "./lib/logger";
const port = config.server.port;
const host = config.server.host;
app.listen(port, host, (err) => {
if (err) {
logger.error({ err }, "Error listening on port");
process.exit(1);
}
logger.info({ host, port }, "Server listening");
});