Skip to content

Commit 4866d04

Browse files
committed
update
1 parent e6866e6 commit 4866d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ui.GraphiQL/Internal/graphiql.cshtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
// if location is absolute (e.g. "/api") then prepend host only
194194
return (window.location.protocol === "http:" ? "ws://" : "wss://") + window.location.host + subscriptionsEndPoint;
195195
}
196-
var subscriptionEndPoint = getSubscriptionsEndPoint();
196+
const subscriptionEndPoint = getSubscriptionsEndPoint();
197197
198198
// Enable Subscriptions via WebSocket
199199
let subscriptionsClient = null;

0 commit comments

Comments
 (0)