Skip to content

Commit

Permalink
wrangler: fix route domain
Browse files Browse the repository at this point in the history
  • Loading branch information
tolbrino committed May 28, 2024
1 parent b488888 commit 1e88bef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ send_metrics = false
main = "server/index.ts"
tsconfig = "tsconfig.json"
# tracks changes on branch `prod`
route = "backend.tokentracker.xyz"
route = "backend.mytokentracker.xyz"

durable_objects.bindings = [
{ name = "client_logs", class_name = "ClientLog"}
Expand All @@ -20,15 +20,15 @@ mode = "smart"

[env.stage]
# tracks changes on branch `main`
route = "staging.backend.tokentracker.xyz"
route = "staging.backend.mytokentracker.xyz"

durable_objects.bindings = [
{ name = "client_logs", class_name = "ClientLog"}
]

[env.dev]
# tracks latest changes in PRs
route = "dev.backend.tokentracker.xyz"
route = "dev.backend.mytokentracker.xyz"

durable_objects.bindings = [
{ name = "client_logs", class_name = "ClientLog"}
Expand Down

0 comments on commit 1e88bef

Please sign in to comment.