mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
Serve a public landing page at / with buttons to the docs, GitHub repo, Terms, Privacy and the admin login. Relocate the Nuxt admin console from / to /admin so the root is no longer the private console. - add home-routes.ts (bilingual landing, auto dark mode, configurable DOCS_URL / GITHUB_REPO_URL) mounted at / - move console to admin/pages/admin.vue; redirect / and unknown SPA routes to /admin - point admin login/logout redirects at /admin
7 lines
120 B
Vue
7 lines
120 B
Vue
<template>
|
|
<div />
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
await navigateTo("/admin", { redirectCode: 302 });
|
|
</script>
|