feat(config): switch docs to Blume and adjust Wrangler config

This commit is contained in:
Prad Nukala committed 2026-08-14 13:15:35 -04:00
1 parent d46fb529c0
commit a3c1049bee
7 files changed
+1318 -342

No files matched your search

+10 -11
View File
@@ -1,28 +1,27 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "leetcode-docs",
"main": "./dist/server/index.js",
"compatibility_date": "2026-08-13",
"compatibility_flags": ["nodejs_als"],
"main": "worker.js",
"compatibility_date": "2026-08-14",
"workers_dev": false,
"preview_urls": true,
"build": {
// waku's cloudflare build enhancer writes a .wrangler/deploy redirect to its minimal
// generated config (no routes/preview_urls); remove it so this file stays authoritative.
"command": "bun run build && rm -rf .wrangler/deploy",
"command": "bun run build",
"watch_dir": "content"
},
"routes": [
{
"pattern": "lc.prad.codes",
"pattern": "od.prad.codes",
"custom_domain": true
}
],
"assets": {
"directory": "./dist",
"binding": "ASSETS",
"directory": "./dist/public",
"html_handling": "drop-trailing-slash"
"not_found_handling": "404-page",
"run_worker_first": true
},
"rules": [{ "type": "ESModule", "globs": ["**/*.js", "**/*.mjs"] }],
"no_bundle": true
"vars": {
"SITE_PASSWORD": "getcracked2026"
}
}