mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
refactor(website,guide): cloudflare workers support (#11204)
This commit is contained in:
19
apps/guide/wrangler.jsonc
Normal file
19
apps/guide/wrangler.jsonc
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"main": ".open-next/worker.js",
|
||||
"name": "discordjs-guide",
|
||||
"keep_names": false,
|
||||
"compatibility_date": "2025-10-04",
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"assets": {
|
||||
"directory": ".open-next/assets",
|
||||
"binding": "ASSETS",
|
||||
},
|
||||
"observability": {
|
||||
"logs": {
|
||||
"enabled": true,
|
||||
"head_sampling_rate": 1,
|
||||
"invocation_logs": true,
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user