Initial commit

This commit is contained in:
2025-09-07 18:16:54 -07:00
committed by GitHub
commit b73afe2365
5 changed files with 568 additions and 0 deletions

41
wrangler.toml Normal file
View File

@@ -0,0 +1,41 @@
# 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"