diff options
Diffstat (limited to 'src/client/Main.hx')
| -rw-r--r-- | src/client/Main.hx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx index 660693b..42030dd 100644 --- a/src/client/Main.hx +++ b/src/client/Main.hx @@ -330,7 +330,9 @@ class Main { final colonPort = port.length > 0 ? ':$port' : port; url = '$protocol//$host$colonPort$url'; } - if (!url.startsWith("http")) url = '$protocol//$url'; + if (!url.startsWith("pt:")) { + if (!url.startsWith("http")) url = '$protocol//$url'; + } final obj:VideoDataRequest = { url: url, |
