We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 523b244 commit 78a58d6Copy full SHA for 78a58d6
src/hooks/useGetTestConnectionLogs.ts
@@ -74,7 +74,7 @@ export function useGetTestConnectionLogs(
74
const logDataResponse = await fetch(
75
data.location.startsWith('http')
76
? data.location
77
- : `${cloudQueryApiBaseUrl}${data.location}`,
+ : `${window.location.origin}${data.location}`,
78
);
79
if (!logDataResponse.ok) {
80
throw new Error(logDataResponse.statusText);
0 commit comments