package handler import ( "net/http" "net/url" "os" "strings" "github.com/multica-ai/multica/server/internal/analytics" ) type AppConfig struct { CdnDomain string `json:"cdn_domain"` // CdnSigned tells clients that the CDN domain above serves PRIVATE // content through time-bounded signed URLs (CloudFront signing is // enabled). When true, a raw storage URL on the CDN domain is NOT // publicly fetchable — renderers must not pick it as a native // /