fix(web): remove prefixos /api/v1 hardcoded nas queries ping e clients
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ export function useApiPing() {
|
||||
return useQuery<PingResponse, Error>({
|
||||
queryKey: PING_QUERY_KEY,
|
||||
queryFn: async () => {
|
||||
const raw = await apiFetch('/api/v1/ping');
|
||||
const raw = await apiFetch('/ping');
|
||||
return PingResponseSchema.parse(raw);
|
||||
},
|
||||
refetchInterval: 30_000,
|
||||
|
||||
Reference in New Issue
Block a user