Browse Source

Remove trailing slash for copied rtmp url

pull/1886/head
Gabe Kangas 3 years ago
parent
commit
6e471a1124
  1. 2
      web/components/offline-notice.tsx

2
web/components/offline-notice.tsx

@ -20,7 +20,7 @@ const { Title } = Typography; @@ -20,7 +20,7 @@ const { Title } = Typography;
const { Meta } = Card;
function generateStreamURL(serverURL, rtmpServerPort) {
return `rtmp://${serverURL.replace(/(^\w+:|^)\/\//, '')}:${rtmpServerPort}/live/`;
return `rtmp://${serverURL.replace(/(^\w+:|^)\/\//, '')}:${rtmpServerPort}/live`;
}
type OfflineProps = {

Loading…
Cancel
Save