site: www.usemagpie.ai redirects to usemagpie.ai on every page — the worker now sees each request, not only /api and /download, so the static pages stopped being served twice

This commit is contained in:
yetone committed 2026-09-24 17:33:44 +08:00
1 parent 545506e875
commit c2a6d0bf8e
1 file changed
+2 -1
+2 -1
View File
@@ -7,7 +7,8 @@
"assets": {
"directory": "./public",
"binding": "ASSETS",
"run_worker_first": ["/api/*", "/download", "/download/*"]
// every request, so worker.js can send www.usemagpie.ai to usemagpie.ai
"run_worker_first": true
},
"routes": [
{ "pattern": "usemagpie.ai", "custom_domain": true },