Skip to content

Commit

Permalink
Remove other environments
Browse files Browse the repository at this point in the history
  • Loading branch information
tolbrino committed May 28, 2024
1 parent 86f52f3 commit 943517b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 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.mytokentracker.xyz"
#route = "backend.mytokentracker.xyz"

durable_objects.bindings = [
{ name = "client_logs", class_name = "ClientLog"}
Expand All @@ -18,18 +18,18 @@ new_classes = ["ClientLog"]
[placement]
mode = "smart"

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

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

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

durable_objects.bindings = [
{ name = "client_logs", class_name = "ClientLog"}
]
#[env.stage]
## tracks changes on branch `main`
#route = "staging.backend.mytokentracker.xyz"
#
#durable_objects.bindings = [
# { name = "client_logs", class_name = "ClientLog"}
#]
#
#[env.dev]
## tracks latest changes in PRs
#route = "dev.backend.mytokentracker.xyz"
#
#durable_objects.bindings = [
# { name = "client_logs", class_name = "ClientLog"}
#]

0 comments on commit 943517b

Please sign in to comment.