Skip to content

Commit 78a58d6

Browse files
Fix logs
1 parent 523b244 commit 78a58d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useGetTestConnectionLogs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function useGetTestConnectionLogs(
7474
const logDataResponse = await fetch(
7575
data.location.startsWith('http')
7676
? data.location
77-
: `${cloudQueryApiBaseUrl}${data.location}`,
77+
: `${window.location.origin}${data.location}`,
7878
);
7979
if (!logDataResponse.ok) {
8080
throw new Error(logDataResponse.statusText);

0 commit comments

Comments
 (0)