fix: Wrangler config
All checks were successful
Deployment / wordpress (push) Successful in 6s
Deployment / nuxt (push) Successful in 56s

This commit is contained in:
2026-02-01 22:47:21 -05:00
parent 9bb09b89d9
commit db831700f0
2 changed files with 10 additions and 8 deletions

View File

@@ -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,

View File

@@ -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"
}
}
}