mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 16:54:22 +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({
|
export default defineNuxtConfig({
|
||||||
|
compatibilityDate: '2025-12-13',
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
'@nuxthub/core',
|
'@nuxthub/core',
|
||||||
@@ -28,24 +29,9 @@ export default defineNuxtConfig({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
future: { compatibilityVersion: 4 },
|
|
||||||
experimental: {
|
experimental: {
|
||||||
asyncContext: true
|
asyncContext: true
|
||||||
},
|
},
|
||||||
compatibilityDate: '2025-11-12',
|
|
||||||
|
|
||||||
nitro: {
|
|
||||||
experimental: {
|
|
||||||
openAPI: true
|
|
||||||
},
|
|
||||||
|
|
||||||
preset: 'cloudflare_module',
|
|
||||||
|
|
||||||
cloudflare: {
|
|
||||||
deployConfig: true,
|
|
||||||
nodeCompat: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
content: {
|
content: {
|
||||||
database: {
|
database: {
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "artapi",
|
"name": "artapi",
|
||||||
"compatibility_date": "2025-12-13",
|
"compatibility_date": "2025-12-13",
|
||||||
|
"compatibility_flags": ["nodejs_compat"],
|
||||||
"main": "./.output/server/index.mjs",
|
"main": "./.output/server/index.mjs",
|
||||||
"assets": {
|
"assets": {
|
||||||
"binding": "ASSETS",
|
"binding": "ASSETS",
|
||||||
|
|||||||
Reference in New Issue
Block a user