21 lines
405 B
TOML
21 lines
405 B
TOML
name = "nodecrypt"
|
|
main = "worker/index.js"
|
|
compatibility_date = "2024-09-23"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
# 配置静态资源
|
|
[assets]
|
|
directory = "./dist"
|
|
not_found_handling = "single-page-application"
|
|
run_worker_first = true
|
|
binding = "ASSETS"
|
|
|
|
[durable_objects]
|
|
bindings = [
|
|
{ name = "CHAT_ROOM", class_name = "ChatRoom" }
|
|
]
|
|
|
|
[[migrations]]
|
|
tag = "v1"
|
|
new_sqlite_classes = ["ChatRoom"]
|