User Monitor->Url() instead of Monitor->Server->Url() which will append port #

This commit is contained in:
Isaac Connor 2018-10-20 14:32:25 -04:00
parent f5eca2da1e
commit c9c46aa12d
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ var streamMode = "<?php echo $streamMode ?>";
var connKey = '<?php echo $connkey ?>';
var monitorId = <?php echo $monitor->Id() ?>;
var monitorUrl = '<?php echo ( $monitor->Server()->Url() ) ?>';
var monitorUrl = '<?php echo ( $monitor->Url() ) ?>';
var streamSrc = "<?php echo preg_replace( '/&amp;/', '&', $streamSrc ) ?>";