Skip to content

Commit

Permalink
Use base url for web history
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Dec 11, 2023
1 parent a082bc8 commit 5cbb947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const routes = [

// create router object to export
const router = createRouter({
history: createWebHistory(''),
history: createWebHistory(import.meta.env.BASE_URL),
routes,
});

Expand Down

0 comments on commit 5cbb947

Please sign in to comment.