mirror of
https://github.com/sune-org/chatroom.git
synced 2026-01-13 16:17:59 +00:00
42 lines
1.0 KiB
TOML
42 lines
1.0 KiB
TOML
# For more details on how to configure Wrangler, refer to:
|
|
# https://developers.cloudflare.com/workers/wrangler/configuration/
|
|
|
|
name = "orp"
|
|
main = "index.js"
|
|
compatibility_date = "2025-08-24"
|
|
|
|
# Durable Objects
|
|
[[migrations]]
|
|
tag = "v1"
|
|
new_sqlite_classes = ["MyDurableObject"]
|
|
|
|
[durable_objects]
|
|
bindings = [
|
|
{ name = "MY_DURABLE_OBJECT", class_name = "MyDurableObject" }
|
|
]
|
|
|
|
[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"
|