From 6f93d42b02fb6d5b0701650302cdc5608bf09f5f Mon Sep 17 00:00:00 2001 From: "johannes.vos" Date: Thu, 14 May 2026 12:14:12 +0200 Subject: [PATCH] Fix Router bug --- src/router/index.js | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index a493844..ef4d6ca 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,19 +1,3 @@ -/* -Copyright 2026 Seekra - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - import { createRouter, createWebHistory } from 'vue-router' import SearchView from '../views/SearchView.vue' @@ -32,4 +16,9 @@ const routes = [ }, ] +const router = createRouter({ + history: createWebHistory(), + routes +}) + export default router \ No newline at end of file