We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c7733 commit 8b0c4b0Copy full SHA for 8b0c4b0
build.sh
@@ -4,3 +4,7 @@
4
5
echo "Building with OpenNext Cloudflare adapter..."
6
npx opennextjs-cloudflare build
7
+
8
+# Copy worker.js to _worker.js for Cloudflare Pages Advanced Mode
9
+echo "Setting up Cloudflare Pages worker..."
10
+cp .open-next/worker.js .open-next/_worker.js
wrangler.toml
@@ -1,3 +1,4 @@
1
name = "andronix-docs-v2"
2
compatibility_date = "2024-12-30"
3
+compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".open-next"
0 commit comments