Interface ServiceWorkerConfig

Configuration for a service worker. Primary used to enable low latency mode on iOS Safari.

interface ServiceWorkerConfig {
    scope?: string;
    url: string;
}

Properties

Properties

scope?: string

Scope of the service worker. Defaults to the service worker path.

url: string

URL to the service worker script.