Well thats stupid it has to be like this
This commit is contained in:
@@ -5,8 +5,6 @@ import node from '@astrojs/node';
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: 'server',
|
output: 'server',
|
||||||
adapter: node({
|
adapter: node({
|
||||||
host: '0.0.0.0',
|
|
||||||
port: 4321, // default port for Astro SSR
|
|
||||||
mode: 'standalone', // bundles dependencies with output
|
mode: 'standalone', // bundles dependencies with output
|
||||||
}),
|
}),
|
||||||
integrations: [react()],
|
integrations: [react()],
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
"start": "bun ./dist/server/entry.mjs"
|
"start": "HOST=0.0.0.0 PORT=4321 bun ./dist/server/entry.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^9.3.0",
|
"@astrojs/node": "^9.3.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user