Skip to content

Commit

Permalink
feat(TAT-149): switch to hash based routing for azure blob (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: arobbins <[email protected]>
  • Loading branch information
allisonrobbins and allisonrobbins authored Jul 3, 2024
1 parent 94f427d commit 374e7b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRouter, createWebHistory } from "vue-router";
import { createRouter, createWebHashHistory } from "vue-router";
import HomePage from "@/views/HomePage.vue";
import MethodologyPage from "@/views/MethodologyPage.vue";
import TopTen from "@/views/TopTen.vue";
Expand Down Expand Up @@ -45,7 +45,7 @@ const routes = [
];

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
history: createWebHashHistory(import.meta.env.BASE_URL),
routes: routes,
scrollBehavior() {
// always scroll to top when linking to a new page
Expand Down

0 comments on commit 374e7b9

Please sign in to comment.