Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TraderAlice/OpenAlice
/ logout
Function
logout
ui/src/auth/api.ts:37–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
export
async
function
logout(): Promise<void> {
38
await
fetch(
'/api/auth/logout'
, {
39
method:
'POST'
,
40
credentials:
'same-origin'
,
41
})
42
}
Callers
nothing calls this directly
Calls
1
fetch
Function · 0.50
Tested by
no test coverage detected