mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 14:24:21 +01:00
fix: mettre à jour la date de compatibilité et ajouter les drapeaux de compatibilité dans la configuration
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user