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:
1 file changed
+2
-1
+2
-1
@@ -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 },
|
||||
|
||||
Reference in new issue
Block a user