X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Frouter%2Findex.ts;h=4e731af0fc1f4d1aa14b8da8f6e58ad9bc574997;hb=98262391ccaa5d00fac1ec8a1707d7fbba33cc3a;hp=869f8bdddc0d4e38b5afeda37527f3f6f2817379;hpb=ebbfbf1c01e010d051956867484b74a94237f546;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/src/router/index.ts b/ui/web/src/router/index.ts index 869f8bdd..4e731af0 100644 --- a/ui/web/src/router/index.ts +++ b/ui/web/src/router/index.ts @@ -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, });