summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/nuldoc-src/commands')
-rw-r--r--vhosts/blog/nuldoc-src/commands/serve.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhosts/blog/nuldoc-src/commands/serve.ts b/vhosts/blog/nuldoc-src/commands/serve.ts
index a78dda5d..67966760 100644
--- a/vhosts/blog/nuldoc-src/commands/serve.ts
+++ b/vhosts/blog/nuldoc-src/commands/serve.ts
@@ -5,7 +5,7 @@ import { runBuildCommand } from "./build.ts";
export function runServeCommand(config: Config) {
const rootDir = join(Deno.cwd(), config.locations.destDir);
- Deno.serve(async (req) => {
+ Deno.serve({ hostname: "127.0.0.1" }, async (req) => {
const pathname = new URL(req.url).pathname;
if (!pathname.endsWith("css") && !pathname.endsWith("svg")) {
await runBuildCommand(config);