Retrospring/app/javascript/retrospring/initializers/serviceWorker.ts

4 lines
111 B
TypeScript
Raw Normal View History

export default function (): void {
navigator.serviceWorker.register("/service_worker.js", { scope: "/" });
}