feat: migrate to tailwind v4 and fix user token API

This commit is contained in:
DecDuck
2025-02-14 20:01:18 +11:00
parent 97792f0707
commit 31aaec74af
19 changed files with 348 additions and 57 deletions

View File

@ -1,9 +0,0 @@
import aclManager from "~/server/internal/acls";
import { userACLDescriptions } from "~/server/internal/acls/descriptions";
export default defineEventHandler(async (h3) => {
const userId = await aclManager.getUserIdACL(h3, []); // No ACLs only allows session authentication
if (!userId) throw createError({ statusCode: 403 });
return userACLDescriptions;
});