| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,13 @@ | |||
| 1 | + export default { | ||
| 2 | + fetch(request) { | ||
| 3 | + const source = new URL(request.url); | ||
| 4 | + const target = `https://zer.foo${source.pathname}${source.search}`; | ||
| 5 | + return new Response(null, { | ||
| 6 | + status: 301, | ||
| 7 | + headers: { | ||
| 8 | + Location: target, | ||
| 9 | + 'Cache-Control': 'public, max-age=3600', | ||
| 10 | + }, | ||
| 11 | + }); | ||
| 12 | + }, | ||
| 13 | + }; | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,8 @@ | |||
| 1 | + { | ||
| 2 | + "name": "zerfoo-legacy-redirect", | ||
| 3 | + "main": "worker/legacy-redirect.mjs", | ||
| 4 | + "compatibility_date": "2026-09-10", | ||
| 5 | + "workers_dev": false, | ||
| 6 | + "routes": [{"pattern": "zerfoo.feza.ai/*", "zone_name": "feza.ai"}], | ||
| 7 | + "observability": {"enabled": true, "head_sampling_rate": 0.1} | ||
| 8 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments