Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
changed back everything
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSteppacher committed Aug 5, 2022
1 parent e676ec8 commit 2b93133
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/registerServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { register } from 'register-service-worker'

if (process.env.NODE_ENV === 'production') {
register(`${process.env.BASE_URL}/service-worker.js`, {
register(`${process.env.BASE_URL}service-worker.js`, {
ready () {
console.log(
'App is being served from cache by a service worker.\n' +
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const routes = [
]

const router = createRouter({
base: process.env.BASE_URL,
base: '/',
history: createWebHistory(),
routes,
scrollBehavior () {
Expand Down

0 comments on commit 2b93133

Please sign in to comment.