Skip to content

Commit a285fbf

Browse files
lehaSVV2009nicolodavis
authored andcommitted
Allow https urls to be passed to lobby (#350)
1 parent 4d1d3cd commit a285fbf

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/lobby/connection.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ class _LobbyConnectionImpl {
1616
}
1717

1818
_baseUrl() {
19-
if (this.server) {
20-
return `http://${this.server}/games`;
21-
}
22-
return '/games';
19+
return `${this.server || ''}/games`;
2320
}
2421

2522
async refresh() {

0 commit comments

Comments
 (0)