main: fix health worker wrnagler names

This commit is contained in:
alex 2024-07-01 15:44:30 +01:00
parent 3e8f497b78
commit bfccf98d99

View file

@ -1,2 +1,17 @@
main = "src/index.ts" main = "src/index.ts"
compatibility_date = "2023-12-18" compatibility_date = "2023-12-18"
#################### Environment names ####################
# dev should never actually get deployed anywhere
[env.dev]
name = "health-worker-dev"
# we don't have a hard-coded name for preview. we instead have to generate it at build time and append it to this file.
# staging is the same as a preview on main:
[env.staging]
name = "health-worker-staging"
# production gets the proper name
[env.production]
name = "health-worker-production"