mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
feat(web): add public landing page and move console to /admin
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
This commit is contained in:
parent
fc243811f0
commit
81d21ffb08
6 changed files with 368 additions and 166 deletions
|
|
@ -10,6 +10,8 @@ export interface Env {
|
|||
ADMIN_USER_IDS?: string;
|
||||
DISCORD_GATEWAY_ENABLED?: string;
|
||||
LEGAL_CONTACT?: string;
|
||||
DOCS_URL?: string;
|
||||
GITHUB_REPO_URL?: string;
|
||||
ASSETS?: Fetcher;
|
||||
KV: KVNamespace;
|
||||
DISCORD_GATEWAY: DurableObjectNamespace;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue