Browse Source

Try to fix routers

Dominik Fuchß 4 years ago
parent
commit
2c8b248751
2 changed files with 2 additions and 2 deletions
  1. 1 1
      report-viewer/src/router/index.ts
  2. 1 1
      report-viewer/vue.config.js

+ 1 - 1
report-viewer/src/router/index.ts

@@ -29,7 +29,7 @@ const routes: Array<RouteRecordRaw> = [
 ];
 
 const router = createRouter({
-    history: createWebHistory(),
+    history: createWebHistory("/JPlag"),
     routes,
 });
 

+ 1 - 1
report-viewer/vue.config.js

@@ -1,4 +1,4 @@
 module.exports = {
-    publicPath: './'
+    publicPath: '/JPlag'
 };