changed network log format, player settings
This commit is contained in:
@@ -3,6 +3,9 @@ import { authenticate } from "../../../util/api.ts";
|
||||
import Server from "../../../server/server.ts";
|
||||
import z from "zod";
|
||||
import { typedZValidator } from "../../../util/validators.ts";
|
||||
import Logging from "@proxnet/undead-logging";
|
||||
|
||||
const log = new Logging("AccountDebug");
|
||||
|
||||
export const route = createHonoRoute('/account');
|
||||
|
||||
@@ -29,10 +32,9 @@ route.app.get('/bulk', typedZValidator('query', bulkAccountQuerySchema), async c
|
||||
);
|
||||
});
|
||||
|
||||
route.app.use('*', authenticate);
|
||||
route.app.use(authenticate);
|
||||
|
||||
route.app.get('/me', c => {
|
||||
const profile = c.get('profile');
|
||||
|
||||
return c.json(profile.selfExport());
|
||||
});
|
||||
Reference in New Issue
Block a user