Explorar o código

Try to fix routers

Dominik Fuchß %!s(int64=4) %!d(string=hai) anos
pai
achega
2c8b248751
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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'
 };