Skip to content

Commit dcd9aa0

Browse files
committed
Fix production host
1 parent 2a5fe98 commit dcd9aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

initialProject/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"scripts": {
66
"dev": "astro dev --port 80 --host",
7-
"start": "if [ ${STAGE} = \"production\" ]; then PORT=80 node ./dist/server/entry.mjs; else npm run dev; fi",
7+
"start": "if [ ${STAGE} = \"production\" ]; then HOST=0.0.0.0 PORT=80 node ./dist/server/entry.mjs; else npm run dev; fi",
88
"build": "astro check && astro build",
99
"preview": "astro preview --port 80 --host",
1010
"astro": "astro"

0 commit comments

Comments
 (0)