chore: generate
This commit is contained in:
parent
ad78ef5a4c
commit
ae4be983cb
3 changed files with 23 additions and 18 deletions
|
|
@ -181,7 +181,8 @@ async function mockServers(page: Page, permissionRequests: string[], permissionR
|
|||
return json(route, true)
|
||||
}
|
||||
if (requestDirectory && requestDirectory !== directory) return json(route, { name: "InvalidDirectory" }, 500)
|
||||
if (url.pathname === "/global/event" || url.pathname === "/event" || url.pathname === "/api/event") return sse(route)
|
||||
if (url.pathname === "/global/event" || url.pathname === "/event" || url.pathname === "/api/event")
|
||||
return sse(route)
|
||||
if (url.pathname === "/global/health") return json(route, { healthy: true })
|
||||
if (url.pathname === "/api/provider" || url.pathname === "/api/model" || url.pathname === "/api/agent")
|
||||
return json(route, { data: [] })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue