From 6410ac5e61c8ccdc4e005e7d49bbc1bbdb021da9 Mon Sep 17 00:00:00 2001 From: arobbins Date: Wed, 3 Jul 2024 10:33:20 -0400 Subject: [PATCH] feat(TAT-149): test regular routing fix --- 404.html | 61 +++++++++++++++++++++++++++++++++++++++++++++ src/router/index.ts | 4 +-- 2 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 404.html diff --git a/404.html b/404.html new file mode 100644 index 0000000..b9373f2 --- /dev/null +++ b/404.html @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + Top ATT&CK Techniques + + + + + +
+ + + diff --git a/src/router/index.ts b/src/router/index.ts index cc80718..25863eb 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,4 +1,4 @@ -import { createRouter, createWebHashHistory } from "vue-router"; +import { createRouter, createWebHistory } from "vue-router"; import HomePage from "@/views/HomePage.vue"; import MethodologyPage from "@/views/MethodologyPage.vue"; import TopTen from "@/views/TopTen.vue"; @@ -45,7 +45,7 @@ const routes = [ ]; const router = createRouter({ - history: createWebHashHistory(import.meta.env.BASE_URL), + history: createWebHistory(import.meta.env.BASE_URL), routes: routes, scrollBehavior() { // always scroll to top when linking to a new page