Function
clearStoredAuth
(storageArea: AuthStorageArea)
Source from the content-addressed store, hash-verified
| 109 | const readFailureBody = async (response: Response): Promise<DeviceAuthFailureBody | undefined> => { |
| 110 | const parsed = failureBodySchema.safeParse(await response.json().catch(() => null)); |
| 111 | |
| 112 | return parsed.success ? parsed.data : undefined; |
| 113 | }; |
| 114 | |
| 115 | export const getKiloApiBaseUrl = (): string => { |
| 116 | const configuredUrl = import.meta.env.VITE_KILO_API_BASE_URL; |
Tested by
no test coverage detected