Files
chatroom/wrangler.toml
2025-09-07 22:12:03 -07:00

43 lines
1.1 KiB
TOML

# For more details on how to configure Wrangler, refer to:
# https://developers.cloudflare.com/workers/wrangler/configuration/
name = "chatsune"
main = "index.js"
compatibility_date = "2025-08-24"
keep_vars = true
# Durable Objects
[[migrations]]
tag = "v1"
new_sqlite_classes = ["ChatsuneDurableObject"]
[durable_objects]
bindings = [
{ name = "CHATSUNE_DURABLE_OBJECT", class_name = "ChatsuneDurableObject" }
]
[observability]
enabled = true
# Smart Placement
# Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
# [placement]
# mode = "smart"
# Environment Variables
# https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
# [vars]
# MY_VARIABLE = "production_value"
# Static Assets
# https://developers.cloudflare.com/workers/static-assets/binding/
# [assets]
# directory = "./public/"
# binding = "ASSETS"
# Service Bindings (communicate between multiple Workers)
# https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
# [[services]]
# binding = "MY_SERVICE"
# service = "my-service"