diff --git a/nuxt.config.ts b/nuxt.config.ts index 7b387fd..4f20abf 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,4 +1,5 @@ export default defineNuxtConfig({ + compatibilityDate: '2025-12-13', modules: [ '@nuxthub/core', @@ -28,24 +29,9 @@ export default defineNuxtConfig({ } }, - future: { compatibilityVersion: 4 }, experimental: { asyncContext: true }, - compatibilityDate: '2025-11-12', - - nitro: { - experimental: { - openAPI: true - }, - - preset: 'cloudflare_module', - - cloudflare: { - deployConfig: true, - nodeCompat: true - } - }, content: { database: { diff --git a/wrangler.jsonc b/wrangler.jsonc index 36aecc6..75ecf60 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -2,6 +2,7 @@ "$schema": "node_modules/wrangler/config-schema.json", "name": "artapi", "compatibility_date": "2025-12-13", + "compatibility_flags": ["nodejs_compat"], "main": "./.output/server/index.mjs", "assets": { "binding": "ASSETS",