fix(cloudflare): serve version.json as static asset
Avoid Workers billing for /version.json by removing worker-first routing and generating static _headers rules during manifest build.
This commit is contained in:
@@ -12,4 +12,3 @@ custom_domain = true
|
||||
directory = "./dist"
|
||||
binding = "ASSETS"
|
||||
not_found_handling = "404-page"
|
||||
run_worker_first = ["/version.json"]
|
||||
|
||||
Reference in New Issue
Block a user