name = "obs-video-server" main = "video-server-enhanced.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" # Will be replaced after creation # Environment variables [vars] # These can be overridden via wrangler secret # ADMIN_PASSWORD will be set via: wrangler secret put ADMIN_PASSWORD # Production environment [env.production] # Uncomment after setting up custom domain # routes = [ # { pattern = "videos.jeffemmett.com/*", custom_domain = true } # ] # Development environment [env.development] # Use different KV namespace for development if needed