Skip to content

Commit

Permalink
Default the host to the IPv4 localhost.
Browse files Browse the repository at this point in the history
Devcontainers on windows don't seem to route connections to the IPv6
localhost (microsoft/vscode-remote-release#7029),
and recent Debian seems to interpret "localhost" as IPv6.
  • Loading branch information
jyasskin committed Sep 8, 2024
1 parent da68b01 commit 5b8dd3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"license": "Apache 2",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "node ./dist/server/entry.mjs",
"dev": "astro dev --host ${HOST:-127.0.0.1}",
"start": "HOST=${HOST:-127.0.0.1} node ./dist/server/entry.mjs",
"fly-release-command": "node ./fly-release-command.mjs",
"build": "astro build",
"preview": "astro preview",
Expand Down

0 comments on commit 5b8dd3b

Please sign in to comment.