20 lines
511 B
TOML
20 lines
511 B
TOML
name = "obs-video-server"
|
|
main = "video-server.js"
|
|
compatibility_date = "2024-01-01"
|
|
|
|
# R2 bucket binding
|
|
[[r2_buckets]]
|
|
binding = "R2_BUCKET"
|
|
bucket_name = "obs-videos"
|
|
|
|
# KV namespace for video metadata (visibility settings)
|
|
[[kv_namespaces]]
|
|
binding = "VIDEO_METADATA"
|
|
id = "placeholder_id" # Replace with your KV namespace ID
|
|
|
|
# Custom domain (add after KV setup)
|
|
# Uncomment these lines and redeploy to use custom domain:
|
|
# routes = [
|
|
# { pattern = "videos.jeffemmett.com/*", custom_domain = true }
|
|
# ]
|