mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 13:54:05 +01:00
fix: mettre à jour la configuration de wrangler et supprimer les fichiers inutiles
This commit is contained in:
51
wrangler.jsonc
Normal file
51
wrangler.jsonc
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "artsite",
|
||||
"compatibility_date": "2025-12-13",
|
||||
"compatibility_flags": [
|
||||
"nodejs_compat",
|
||||
],
|
||||
"preview_urls": true,
|
||||
"workers_dev": true,
|
||||
"main": "./.output/server/index.mjs",
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "v2.arthurdanjou.fr",
|
||||
"zone_name": "arthurdanjou.fr",
|
||||
"custom_domain": true
|
||||
}
|
||||
],
|
||||
"placement": {
|
||||
"mode": "smart",
|
||||
},
|
||||
"assets": {
|
||||
"binding": "ASSETS",
|
||||
"directory": "./.output/public/"
|
||||
},
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"database_id": "d6e8c2ff-399a-4bec-b1b3-4bfe57d50ea8"
|
||||
}
|
||||
],
|
||||
"kv_namespaces": [
|
||||
{
|
||||
"binding": "CACHE",
|
||||
"id": "f0766ace1d24423ba6e5cac4fb8f2054",
|
||||
}
|
||||
],
|
||||
"observability": {
|
||||
"enabled": true,
|
||||
"logs": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 1,
|
||||
"persist": true,
|
||||
"invocation_logs": true
|
||||
},
|
||||
"traces": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 1,
|
||||
"persist": true
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user