Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi committed Oct 20, 2023
1 parent 4fba09c commit 142e3b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WebSocketClient/UVLPlayground/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ let languageClient: MonacoLanguageClient;
const createUrl = (hostname: string, port: number, path: string, searchParams: Record<string, any> = {}, secure: boolean = location.protocol === 'https:'): string => {
const protocol = secure ? 'wss' : 'ws';
const url = new URL(`${protocol}://${hostname}:${port}${path}`);
console.log(url);

for (let [key, value] of Object.entries(searchParams)) {
if (value instanceof Array) {
Expand Down

0 comments on commit 142e3b0

Please sign in to comment.