mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 12:02:50 +08:00
M001: add secure admin foundation
This commit is contained in:
1 parent
960be106bb
commit
31f320d4c1
32 files changed
+2518
-679
No files matched your search
@@ -3,9 +3,12 @@ import { createPinia } from "pinia";
|
||||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import App from "./App.vue";
|
||||
import WebClient from "./views/WebClient.vue";
|
||||
import AdminView from "./views/AdminView.vue";
|
||||
|
||||
const routes = [
|
||||
{ path: "/", name: "webclient", component: WebClient },
|
||||
{ path: "/join", name: "join", component: WebClient },
|
||||
{ path: "/admin/:pathMatch(.*)*", name: "admin", component: AdminView },
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
Reference in new issue
Block a user