mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 14:44:21 +01:00
fix: mettre à jour les drapeaux de compatibilité et ajouter des routes dans la configuration
This commit is contained in:
@@ -2,8 +2,21 @@
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "artapi",
|
||||
"compatibility_date": "2025-12-13",
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat",
|
||||
"no_nodejs_compat_v2"
|
||||
],
|
||||
"main": "./.output/server/index.mjs",
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "api.arthurdanjou.fr",
|
||||
"zone_name": "arthurdanjou.fr",
|
||||
"custom_domain": true
|
||||
}
|
||||
],
|
||||
"placement": {
|
||||
"mode": "smart",
|
||||
},
|
||||
"assets": {
|
||||
"binding": "ASSETS",
|
||||
"directory": "./.output/public/"
|
||||
@@ -11,7 +24,6 @@
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_name": "artapi",
|
||||
"database_id": "d6c86b05-f4aa-4dcf-8962-e0b0d538d302"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user