IFClite TypeScript API
    Preparing search index...

    Interface CorsOptions

    Cross-origin policy for the HTTP routes (/blobs, /collab/*, /healthz, /metrics). The viewer is typically served from a different origin than the collab-server, so a browser fetch()/PUT to the blob route needs Access-Control-Allow-* headers and an OPTIONS preflight response — without them the WebSocket doc syncs but geometry blobs are blocked, so recipients see an empty model.

    interface CorsOptions {
        origin?: string | string[];
    }
    Index
    origin?: string | string[]

    Allowed origin(s). '*' or omitted reflects whatever Origin the request carries (permissive — fine for dev and same-trust deployments). An explicit string or array restricts to those origins; a non-matching origin gets no CORS headers (and the browser blocks the request).