This commit is contained in:
2025-07-27 19:49:35 -04:00
parent 2302290d34
commit 941c8400c0
23 changed files with 293 additions and 50 deletions

7
src/routes/match/root.ts Normal file
View File

@@ -0,0 +1,7 @@
import { createHonoRoute, routeImporter } from "../../util/import.ts";
export const route = createHonoRoute('/match');
await routeImporter(route.app, 'src/routes/match/', [
'routes'
]);

View File

@@ -0,0 +1,10 @@
import { authenticate } from "../../../util/api.ts";
import { createHonoRoute } from "../../../util/import.ts";
export const route = createHonoRoute("/player");
route.app.use(authenticate);
route.app.post('/login', async c => {
return c.status(200);
});