docs: ui/web/README.md: fix link, take 2
[e-mobility-charging-stations-simulator.git] / ui / web / src / router / index.ts
index 869f8bdddc0d4e38b5afeda37527f3f6f2817379..4e731af0fc1f4d1aa14b8da8f6e58ad9bc574997 100644 (file)
@@ -1,5 +1,4 @@
-import { createRouter, createWebHistory } from 'vue-router';
-import type { RouteRecordRaw } from 'vue-router';
+import { type RouteRecordRaw, createRouter, createWebHistory } from 'vue-router';
 import ChargingStationsView from '@/views/ChargingStationsView.vue';
 
 const routes: RouteRecordRaw[] = [
@@ -11,7 +10,7 @@ const routes: RouteRecordRaw[] = [
 ];
 
 const router = createRouter({
-  history: createWebHistory(process.env.BASE_URL),
+  history: createWebHistory(),
   routes,
 });