mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-07 09:07:23 +01:00
♻️ Moves service worker init into utils
This commit is contained in:
parent
1e00d0bc67
commit
5b6663dab8
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
/* eslint-disable no-console */
|
/* eslint-disable no-console */
|
||||||
|
|
||||||
import { register } from 'register-service-worker';
|
import { register } from 'register-service-worker';
|
||||||
import { sessionStorageKeys } from './utils/defaults';
|
import { sessionStorageKeys } from '@/utils/defaults';
|
||||||
import conf from '../public/conf.yml';
|
import conf from '../../public/conf.yml';
|
||||||
|
|
||||||
/* Sets a local storage item with the state from the SW lifecycle */
|
/* Sets a local storage item with the state from the SW lifecycle */
|
||||||
const setSwStatus = (swStateToSet) => {
|
const setSwStatus = (swStateToSet) => {
|
||||||
Loading…
Reference in a new issue