Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1b8609a

Browse files
fix next start not working (#3608)
Co-authored-by: Nicolas Dorseuil <nicolas@gitbook.io>
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)

AltStyle によって変換されたページ (->オリジナル) /