UNPKG

451-tools

Version:

Censorship resilient and distributed publishing: informed by the needs of publishers and their audiences, More Mirrors implements a set of offline fallback strategies for censorship resilient websites.

23 lines (22 loc) 688 B
export function fallbackHandler({ event, serviceWorkerController }: { event: any; serviceWorkerController: any; }): Promise<Response>; export function registerFallbackPages(options?: { serviceWorkerController: import("../service-worker-controller/service-worker-controller.js").ServiceWorkerController; fallbackPages: { pages: Array<string | { url: string; revision: string; }>; }; }): void; export function defineFallbackPagesConfiguration(configuration: any): { language: any; textDirection: any; customProperties: any; templateStrings: any; showHiddenTabs: any; excludeByPath: any; pages: any; };