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:
2026-05-28 01:00:45 +00:00
parent 56ca650962
commit da2f1020d1
2 changed files with 3 additions and 3 deletions

View File

@@ -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,