Skip to content

Commit

Permalink
Fix production port
Browse files Browse the repository at this point in the history
  • Loading branch information
Munkkeli committed Nov 3, 2023
1 parent 21b435f commit 2a5fe98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initialProject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.1",
"scripts": {
"dev": "astro dev --port 80 --host",
"start": "if [ ${STAGE} = \"production\" ]; then node ./dist/server/entry.mjs; else npm run dev; fi",
"start": "if [ ${STAGE} = \"production\" ]; then PORT=80 node ./dist/server/entry.mjs; else npm run dev; fi",
"build": "astro check && astro build",
"preview": "astro preview --port 80 --host",
"astro": "astro"
Expand Down

0 comments on commit 2a5fe98

Please sign in to comment.