mirror of
https://github.com/amigan/calls.git
synced 2024-11-21 12:29:47 -05:00
fix
This commit is contained in:
parent
9d58f4fa7f
commit
d6d590684d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class LiveFeeder {
|
||||||
String socketUrl = 'ws://xenon:3050/ws';
|
String socketUrl = 'ws://xenon:3050/ws';
|
||||||
Uri baseUri = Uri.base;
|
Uri baseUri = Uri.base;
|
||||||
if (baseUri.scheme == 'http' || baseUri.scheme == 'https') {
|
if (baseUri.scheme == 'http' || baseUri.scheme == 'https') {
|
||||||
String port = (baseUri.hasPort ? ':' + baseUri.port.toString() : '');
|
String port = (baseUri.hasPort ? ':${baseUri.port}' : '');
|
||||||
socketUrl = 'ws://${baseUri.host}$port/ws';
|
socketUrl = 'ws://${baseUri.host}$port/ws';
|
||||||
}
|
}
|
||||||
_wsUri = Uri.parse(socketUrl);
|
_wsUri = Uri.parse(socketUrl);
|
||||||
|
|
Loading…
Reference in a new issue