parent
6e0bf56289
commit
f603e53151
@ -3,7 +3,3 @@
|
|||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
|
||||||
config.baseurl_selfservice = (config.baseurl_selfservice || "/selfservice");
|
|
||||||
</script>
|
|
@ -1,16 +1,24 @@
|
|||||||
import EnvError from './components/EnvError.vue';
|
// import EnvError from './components/EnvError.vue';
|
||||||
import Home from './views/Home.vue';
|
import Home from './views/Home.vue';
|
||||||
import Imprint from './views/Imprint.vue';
|
import Imprint from './views/Imprint.vue';
|
||||||
import Privacy from './views/Privacy.vue';
|
import Privacy from './views/Privacy.vue';
|
||||||
import Register from './views/Register.vue';
|
import Register from './views/Register.vue';
|
||||||
import Profile from './views/Profile.vue';
|
import Profile from './views/Profile.vue';
|
||||||
|
import ProfileNone from './views/ProfileNone.vue';
|
||||||
|
|
||||||
|
console.log(config);
|
||||||
|
|
||||||
/** @type {import('vue-router').RouterOptions['routes']} */
|
/** @type {import('vue-router').RouterOptions['routes']} */
|
||||||
export const routes = [
|
export const routes = [
|
||||||
{ path: '/', component: Home },
|
{ path: config.baseurl_selfservice + '', component: Home },
|
||||||
{ path: '/imprint', component: Imprint },
|
{ path: config.baseurl_selfservice + 'imprint', component: Imprint },
|
||||||
{ path: '/privacy', component: Privacy },
|
{ path: config.baseurl_selfservice + 'imprint/', component: Imprint },
|
||||||
{ path: '/register', component: Register },
|
{ path: config.baseurl_selfservice + 'privacy', component: Privacy },
|
||||||
{ path: '/register/:token', component: Register, props: true },
|
{ path: config.baseurl_selfservice + 'privacy/', component: Privacy },
|
||||||
{ path: '/profile/:token', component: Profile, props: true }
|
{ path: config.baseurl_selfservice + 'register', component: Register },
|
||||||
|
{ path: config.baseurl_selfservice + 'register/', component: Register },
|
||||||
|
{ path: config.baseurl_selfservice + 'register/:token', component: Register, props: true },
|
||||||
|
{ path: config.baseurl_selfservice + 'profile', component: Profile },
|
||||||
|
{ path: config.baseurl_selfservice + 'profile/', component: ProfileNone },
|
||||||
|
{ path: config.baseurl_selfservice + 'profile/:token', component: Profile, props: true }
|
||||||
];
|
];
|
||||||
|
1
src/views/ProfileNone.vue
Normal file
1
src/views/ProfileNone.vue
Normal file
@ -0,0 +1 @@
|
|||||||
|
<template>You have not provided a valid access key...</template>
|
Loading…
x
Reference in New Issue
Block a user