Skip to content

Commit

Permalink
quasar-web-client: Fix duplicate port in URI
Browse files Browse the repository at this point in the history
  • Loading branch information
queezle42 committed Dec 18, 2023
1 parent abd5b49 commit 047e52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quasar-web-client/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class QuasarWebClient {

if (websocketAddress == null) {
const protocol = window.location.protocol == "https:" ? "wss" : "ws";
this.websocketAddress = `${protocol}://${window.location.host}:${window.location.port}/ws`;
this.websocketAddress = `${protocol}://${window.location.host}/ws`;
}
else {
this.websocketAddress = websocketAddress;
Expand Down

0 comments on commit 047e52f

Please sign in to comment.