fix(admin): wire /admin/login, /admin/logout and /admin/invite routes

This commit is contained in:
RhenCloud 2026-08-15 17:44:20 +08:00
parent 320e825bf8
commit fa227b1533
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,3 @@
import { adminInvite } from "../../lib/web/admin";
export default defineEventHandler((event) => adminInvite(event));

View file

@ -0,0 +1,3 @@
import { adminLogin } from "../../lib/web/admin";
export default defineEventHandler((event) => adminLogin(event));

View file

@ -0,0 +1,3 @@
import { adminLogout } from "../../lib/web/admin";
export default defineEventHandler((event) => adminLogout(event));