chore: added leading slash for for ws URL (#5709)

This commit is contained in:
Vikrant Gupta 2024-08-16 18:51:02 +05:30 committed by GitHub
parent 871e5ada9e
commit 79e96e544f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ export function getQueryStats(props: GetQueryStatsProps): void {
const token = getLocalStorageApi(LOCALSTORAGE.AUTH_TOKEN) || '';
const socket = new WebSocket(
`${ENVIRONMENT.wsURL}api/v3/query_progress?q=${queryId}`,
`${ENVIRONMENT.wsURL}/api/v3/query_progress?q=${queryId}`,
token,
);