Test AUTH - 30 Jul

This commit is contained in:
2025-07-30 12:11:17 +08:00
parent c11cc421a4
commit 4e61695649
14 changed files with 619 additions and 13 deletions

View File

@@ -23,6 +23,8 @@ import Inovasi from "./_lib/inovasi";
import Lingkungan from "./_lib/lingkungan";
import LandingPage from "./_lib/landing_page";
import Pendidikan from "./_lib/pendidikan";
import User from "./_lib/user";
const ROOT = process.cwd();
@@ -89,6 +91,8 @@ const ApiServer = new Elysia()
.use(Inovasi)
.use(Lingkungan)
.use(Pendidikan)
.use(User)
.onError(({ code }) => {
if (code === "NOT_FOUND") {
return {