fix host for docker

This commit is contained in:
Dmitriy Pleshevskiy 2022-06-08 23:31:43 +03:00
parent 890c1f74ed
commit cd91329be0
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ async function main() {
}
async function startServer(cfg: ServerConfig) {
const srv = Deno.listen({ hostname: "localhost", port: cfg.port });
const srv = Deno.listen({ hostname: "0.0.0.0", port: cfg.port });
log.info(`Server listening at http://localhost:${cfg.port}`);
for await (const conn of srv) {