Browse Source

fix cloudflare deployment instructions

Ricky Robinett 1 năm trước cách đây
mục cha
commit
2c077aca5a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      docs/cloudflare-pages-en.md

+ 2 - 2
docs/cloudflare-pages-en.md

@@ -12,7 +12,7 @@ Fork this project on GitHub, then log in to dash.cloudflare.com and go to Pages.
 7. In "Build Settings", choose the "Framework presets" option and select "Next.js".
 8. Do not use the default "Build command" due to a node:buffer bug. Instead, use the following command:
     ```
-    npx https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/4930842298/npm-package-next-on-pages-230 --experimental-minify
+    npx @cloudflare/next-on-pages --experimental-minify
     ```
 9. For "Build output directory", use the default value and do not modify it.
 10. Do not modify "Root Directory".
@@ -35,4 +35,4 @@ Fork this project on GitHub, then log in to dash.cloudflare.com and go to Pages.
 14. Go to "Build settings", "Functions", and find "Compatibility flags".
 15. Fill in "nodejs_compat" for both "Configure Production compatibility flag" and "Configure Preview compatibility flag".
 16. Go to "Deployments" and click "Retry deployment".
-17. Enjoy.
+17. Enjoy.