forked from baron/baron-sso
개요 차단 화면에 개발자 권한 신청 버튼 추가
This commit is contained in:
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user