diff --git a/build.mjs b/build.mjs index b71faf2..550b954 100644 --- a/build.mjs +++ b/build.mjs @@ -13,7 +13,8 @@ if(process.argv[2] === 'serve'){ const context = await esbuild.context(config); const {host, port} = await context.serve({ - servedir: 'dist' + servedir: 'dist', + host: '127.0.0.1' }); console.log(`Listening on http://${host}:${port}/`);