fix: clean URLs, contract addresses, gitmodule (#16, #58, #147) (#162)

This commit is contained in:
johba 2026-02-20 17:28:59 +01:00
parent 79c9c8571a
commit 1e0822eaa2
21 changed files with 126 additions and 47 deletions

View file

@ -17,7 +17,7 @@
<RouterLink v-for="navbarRoute in navbarRoutes" :key="navbarRoute.name" :to="navbarRoute.path">
{{ navbarRoute.title }}
</RouterLink>
<a href="/#/docs">Docs</a>
<a href="/app/docs">Docs</a>
</nav>
<template v-if="!isMobile">
<div class="vertical-line"></div>

View file

@ -46,7 +46,7 @@ provide('isMobile', isMobile);
provide('showPanel', showPanel);
function openDocs() {
window.open('https://emberspirit007.github.io/KraikenLanding/#/docs/Introduction');
window.open('/app/docs');
}
</script>

View file

@ -1,8 +1,10 @@
import { createRouter, createWebHashHistory } from 'vue-router';
import { createRouter, createWebHistory } from 'vue-router';
import { authGuard } from './authGuard';
const basePath = import.meta.env.VITE_BASE_PATH || '/app/';
const router = createRouter({
history: createWebHashHistory(),
history: createWebHistory(basePath),
routes: [
{
path: '/',