This commit is contained in:
Omar Najjar 2025-04-13 01:00:45 +10:00
parent b7b286c2f0
commit 906c5ffe2c

View file

@ -22,10 +22,29 @@ ENVIRONMENT = "production"
enabled = true
# Route API requests to your worker
# Main routes for API endpoints
[[routes]]
pattern = "theradicalparty.com/api/*"
zone_name = "theradicalparty.com"
# Media file routes
[[routes]]
pattern = "theradicalparty.com/memes/*"
zone_name = "theradicalparty.com"
[[routes]]
pattern = "theradicalparty.com/audio/*"
zone_name = "theradicalparty.com"
# Ensure static assets are properly routed
[[routes]]
pattern = "theradicalparty.com/styles.css"
zone_name = "theradicalparty.com"
# Catch-all for other pages
[[routes]]
pattern = "theradicalparty.com/*"
zone_name = "theradicalparty.com"