mirror of
https://github.com/error311/FileRise.git
synced 2026-05-18 03:33:28 -05:00
9 lines
280 B
JavaScript
9 lines
280 B
JavaScript
// Service Worker entrypoint.
|
|
// This file is registered as `/sw.js` (or `/<base>/sw.js` for subpath installs like `/fr`),
|
|
// and it imports the real worker implementation from `/js/pwa/sw.js`.
|
|
try {
|
|
self.importScripts('js/pwa/sw.js?v={{APP_QVER}}');
|
|
} catch (e) {
|
|
// no-op
|
|
}
|