Skip to content

Commit 1b8609a

Browse files
conico974Nicolas Dorseuil
andauthored
fix next start not working (#3608)
Co-authored-by: Nicolas Dorseuil <[email protected]>
1 parent 193d591 commit 1b8609a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/gitbook/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
"clean": "rm -rf ./.next && rm -rf ./public/~gitbook/static/icons && rm -rf ./public/~gitbook/static/math",
105105
"dev": "env-cmd --silent -f ../../.env.local next",
106106
"build": "next build",
107-
"start": "next start",
107+
"build:local": "GITBOOK_URL=http://localhost:3000 next build",
108+
"start": "GITBOOK_URL=http://localhost:3000 next start",
108109
"build:cloudflare": "opennextjs-cloudflare build",
109110
"dev:cloudflare": "wrangler dev --port 8771 --env preview",
110111
"dev:cf:middleware": "wrangler dev --port 8771 --inspector-port 9230 --env dev --config ./openNext/customWorkers/middlewareWrangler.jsonc",

0 commit comments

Comments
 (0)