🔧 UPDATE: Refined routing configuration in wrangler.jsonc to direct all traffic from leakhub.ai and www.leakhub.ai to the Worker, enhancing traffic management.

This commit is contained in:
joaodunas
2026-01-07 21:33:22 +00:00
parent 7a0d1e5e37
commit 3d7f350a5c

View File

@@ -10,9 +10,15 @@
},
// Required compatibility date for Workers runtime features
"compatibility_date": "2025-06-05",
// Route all traffic from leakhub.ai to this Worker
// The wildcard (*) at the end matches all paths (/, /dashboard, /browse, etc.)
"routes": [
{
"pattern": "**",
"pattern": "leakhub.ai/*",
"zone_name": "leakhub.ai",
},
{
"pattern": "www.leakhub.ai/*",
"zone_name": "leakhub.ai",
},
],