forked from cloudflare/orange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrangler.toml
29 lines (23 loc) · 722 Bytes
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name = "cio-liveclass"
# https://developers.cloudflare.com/workers/platform/compatibility-dates
compatibility_date = "2022-04-05"
account_id = "97a2feecc74084197a726ed737c4c508"
main = "./build/index.js"
[site]
bucket = "./public"
[[build.upload.rules]]
type = "ESModule"
globs = ["**/*.js"]
[vars]
CALLS_APP_ID = "0e322ae8f7a0c2b6285d944befc35679"
[durable_objects]
bindings = [
{ name = "rooms", class_name = "ChatRoom" }
]
# Indicate that you want the ChatRoom class to be callable as Durable Objects.
[[migrations]]
tag = "v1" # Should be unique for each entry
new_classes = ["ChatRoom"]
# The necessary secrets are:
# - CALLS_APP_SECRET
# To add secret, run `echo <VALUE> | wrangler secret put <NAME>`