diff --git a/src/registerServiceWorker.js b/src/utils/InitServiceWorker.js similarity index 96% rename from src/registerServiceWorker.js rename to src/utils/InitServiceWorker.js index 5db4a8f3..03f3b7e0 100644 --- a/src/registerServiceWorker.js +++ b/src/utils/InitServiceWorker.js @@ -1,8 +1,8 @@ /* eslint-disable no-console */ import { register } from 'register-service-worker'; -import { sessionStorageKeys } from './utils/defaults'; -import conf from '../public/conf.yml'; +import { sessionStorageKeys } from '@/utils/defaults'; +import conf from '../../public/conf.yml'; /* Sets a local storage item with the state from the SW lifecycle */ const setSwStatus = (swStateToSet) => {