X
This commit is contained in:
parent
b7b286c2f0
commit
906c5ffe2c
1 changed files with 20 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue