Explorar el Código

Merge pull request #316 from dfuchss/bugfix/deployment

Fixes Routing
Sebastian Hahner hace 4 años
padre
commit
795c2d2142
Se han modificado 2 ficheros con 2 adiciones y 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'
 };