From e183ae231c1b7fa58a63dadabec27abb33640329 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Tue, 16 Dec 2025 17:00:52 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20mettre=20=C3=A0=20jour=20la=20date=20de?= =?UTF-8?q?=20compatibilit=C3=A9=20et=20ajouter=20les=20drapeaux=20de=20co?= =?UTF-8?q?mpatibilit=C3=A9=20dans=20la=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.ts | 16 +--------------- wrangler.jsonc | 1 + 2 files changed, 2 insertions(+), 15 deletions(-) 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",