api docs public machen

This commit is contained in:
itsrubberduck
2025-09-17 17:37:20 +02:00
parent 1e3d942fd5
commit 89641a1dbf

View File

@@ -3,7 +3,7 @@ import { requireUserSession } from '../utils/auth'
export default defineEventHandler(async (event) => {
const url = getRequestURL(event)
if (!url.pathname.startsWith('/api')) {
if (!url.pathname.startsWith('/api/')) {
return
}
if (url.pathname.startsWith('/api/service/')) {