feat(backend): support container runtime paths
This commit is contained in:
@@ -2,5 +2,5 @@ import { buildApp } from "./app.js";
|
||||
import { loadConfig } from "./config.js";
|
||||
const config = loadConfig(process.env);
|
||||
const app = buildApp(config);
|
||||
app.listen({ port: config.port, host: "127.0.0.1" })
|
||||
app.listen({ port: config.port, host: config.host })
|
||||
.then((addr) => console.log(`backend listening on ${addr}`));
|
||||
|
||||
Reference in New Issue
Block a user