fix: Wrangler config
This commit is contained in:
@@ -56,9 +56,7 @@ export default defineNuxtConfig({
|
||||
nitro: {
|
||||
preset: "cloudflare_module",
|
||||
cloudflare: {
|
||||
deployConfig: true,
|
||||
wrangler: {
|
||||
name: "wp-headless",
|
||||
vars: {
|
||||
NODE_ENV: "staging",
|
||||
NUXT_SITE_URL: siteUrl,
|
||||
|
||||
@@ -1,14 +1,18 @@
|
||||
{
|
||||
"$schema": "./node_modules/wrangler/config-schema.json",
|
||||
"main": "./output/server/index.mjs",
|
||||
"compatibility_date": "2026-01-27",
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "wp-headless",
|
||||
"main": ".output/server/index.mjs",
|
||||
"compatibility_date": "2026-02-01",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat",
|
||||
"no_nodejs_compat_v2"
|
||||
],
|
||||
"observability": {
|
||||
"enabled": true
|
||||
},
|
||||
"preview_urls": false,
|
||||
"assets": {
|
||||
"binding": "ASSETS",
|
||||
"directory": "../public"
|
||||
"directory": ".output/public"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user