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: { nitro: {
preset: "cloudflare_module", preset: "cloudflare_module",
cloudflare: { cloudflare: {
deployConfig: true,
wrangler: { wrangler: {
name: "wp-headless",
vars: { vars: {
NODE_ENV: "staging", NODE_ENV: "staging",
NUXT_SITE_URL: siteUrl, NUXT_SITE_URL: siteUrl,

View File

@@ -1,14 +1,18 @@
{ {
"$schema": "./node_modules/wrangler/config-schema.json", "$schema": "node_modules/wrangler/config-schema.json",
"main": "./output/server/index.mjs", "name": "wp-headless",
"compatibility_date": "2026-01-27", "main": ".output/server/index.mjs",
"compatibility_flags": ["nodejs_compat"], "compatibility_date": "2026-02-01",
"compatibility_flags": [
"nodejs_compat",
"no_nodejs_compat_v2"
],
"observability": { "observability": {
"enabled": true "enabled": true
}, },
"preview_urls": false, "preview_urls": false,
"assets": { "assets": {
"binding": "ASSETS", "binding": "ASSETS",
"directory": "../public" "directory": ".output/public"
} }
} }