Skip to content

Commit

Permalink
fix: api wrangler routes need pattern (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jan 3, 2023
1 parent 0bd363e commit b2b1c85
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/api/wrangler.toml
Expand Up @@ -11,7 +11,9 @@ command = "npm run build"
[env.production]
# name = "nftstorage-link-api-production"
account_id = "fffa4b4363a7e5250af8357087263b3a" # Protocol Labs CF account
route = "api.nftstorage.link/*"
routes = [
{ pattern = "api.nftstorage.link/*", zone_id = "c7795a0adce7609a95d62fec04705aff" }
]
kv_namespaces = [
{ binding = "DENYLIST", id = "785cf627e913468ca5319523ae929def" }
]
Expand All @@ -37,7 +39,9 @@ environment = "production"
[env.staging]
# name = "nftstorage-link-api-staging"
account_id = "fffa4b4363a7e5250af8357087263b3a" # Protocol Labs CF account
route = "api-staging.nftstorage.link/*"
routes = [
{ pattern = "api-staging.nftstorage.link/*", zone_id = "c7795a0adce7609a95d62fec04705aff" }
]
kv_namespaces = [
{ binding = "DENYLIST", id = "f4eb0eca32e14e28b643604a82e00cb3" }
]
Expand Down

0 comments on commit b2b1c85

Please sign in to comment.