name = "vore-scenario-generator" main = "src/server/entrypoint.ts" compatibility_date = "2023-12-18" keep_vars = true ### Development ### workers_dev = true [build] command = "tsx src/build/bundle-client-with-source-map.ts src/client src/server/web/bundles/client.generated.ts" cwd = "." watch_dir = ["src/client", "src/common", "src/build"] [placement] mode = "smart" [[d1_databases]] binding = "DB" # i.e. available in your Worker on env.DB database_name = "dev-ncc-gen" database_id = "cdd2a712-0aa4-4929-8731-b338fb4f03db" migrations_table = "d1_migrations" migrations_dir = "migrations" [[kv_namespaces]] binding = "KV" id = "b25d8b0e63cb45fb8b4c78ec29fa7c02" [vars] BASE_URL = "https://vore-scenario-generator.reya-cloudflare.workers.dev" DISCORD_APP_ID = "" DISCORD_PUBLIC_KEY = "" DISCORD_DEV_GUILD_IDS = "" CREDITS_URL = "https://git.reya.zone/reya/vore-scenario-generator#credits" ### Staging ### [env.staging] workers_dev = false [env.staging.build] command = "tsx src/build/bundle-client-with-source-map.ts" cwd = "." watch_dir = ["src/client", "src/common", "src/build"] [env.staging.placement] mode = "smart" [[env.staging.routes]] pattern = "staging.scenario-generator.deliciousreya.net" custom_domain = true [[env.staging.d1_databases]] binding = "DB" # i.e. available in your Worker on env.DB database_name = "staging-ncc-gen" database_id = "e0ce391d-e34c-45d2-9bc0-521970f077c5" migrations_table = "d1_migrations" migrations_dir = "migrations" [[env.staging.kv_namespaces]] binding = "KV" id = "6bd3f3b6455e4fcaa78b7120922f8e2d" [env.staging.vars] BASE_URL = "https://staging.scenario-generator.deliciousreya.net" DISCORD_APP_ID = "1194035515255689337" DISCORD_PUBLIC_KEY = "b7e0a1c6fa4f99102d0caad4b3d878b16c285d638d16dcc78d92a699da495671" DISCORD_DEV_GUILD_IDS = "771270287483994123" CREDITS_URL = "https://git.reya.zone/reya/vore-scenario-generator#credits" ### Production ### [env.production] workers_dev = false [env.production.build] command = "tsx src/build/check-source-map-and-bundle-client.ts" cwd = "." watch_dir = ["src/client", "src/common", "src/build"] [env.production.placement] mode = "smart" [[env.production.routes]] pattern = "scenario-generator.deliciousreya.net" custom_domain = true [[env.production.d1_databases]] binding = "DB" # i.e. available in your Worker on env.DB database_name = "production-ncc-gen" database_id = "d09d3c74-c75f-4418-8f1b-2fe7f21637e6" migrations_table = "d1_migrations" migrations_dir = "migrations" [[env.production.kv_namespaces]] binding = "KV" id = "5c4a6e5a848c4a029f885e12c56d862f" [env.production.vars] BASE_URL = "https://scenario-generator.deliciousreya.net" DISCORD_APP_ID = "1192326191189864458" DISCORD_PUBLIC_KEY = "1e064fcb320647e9a72b3a97657ba820e1929d6b32ae3429303fedb0faac6551" DISCORD_DEV_GUILD_IDS = "" CREDITS_URL = "https://git.reya.zone/reya/vore-scenario-generator#credits"