Skip to content

Commit

Permalink
Update wrangler config for service binding (#35)
Browse files Browse the repository at this point in the history
* fix/service binding changes

* refactor: updates wrangler environment for service binding
  • Loading branch information
Ajeyakrishna-k authored Dec 15, 2023
1 parent 16765a9 commit 90d8c43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ kv_namespaces = [
{ binding = "CronJobsTimestamp", id = "6fbc191da931473393d5fbe612251d29" }
]
services = [
{ binding = "DISCORD_BOT", service = "discord-slash-commands", environment = "staging" }
{ binding = "DISCORD_BOT", service = "discord-slash-commands" }
]

[env.production]
kv_namespaces = [
{ binding = "CronJobsTimestamp", id = "3a10f726c95d4afea9dee5fd00f029b9" }
]
services = [
{ binding = "DISCORD_BOT", service = "discord-slash-commands", environment = "production" }
{ binding = "DISCORD_BOT", service = "discord-slash-commands" }
]

[triggers]
Expand Down

0 comments on commit 90d8c43

Please sign in to comment.