1
0
forked from baron/baron-sso

개요 차단 화면에 개발자 권한 신청 버튼 추가

This commit is contained in:
2026-05-26 15:50:39 +09:00
parent 7fe86e8aa4
commit 6512fea8fe
3 changed files with 53 additions and 9 deletions

View File

@@ -408,6 +408,15 @@ export async function installDevApiMock(page: Page, state: DevApiMockState) {
});
}
if (pathname === "/api/v1/dev/rp-usage/daily" && method === "GET") {
return json(route, {
items: [],
days: Number.parseInt(searchParams.get("days") || "14", 10),
period:
(searchParams.get("period") as "day" | "week" | "month") || "day",
});
}
if (pathname === "/api/v1/dev/clients" && method === "GET") {
return json(route, {
items: state.clients.map((client) => ({