From 6e471a1124044271c9c1411b70ba62b892bce311 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 17 Feb 2022 21:29:10 -0800 Subject: [PATCH] Remove trailing slash for copied rtmp url --- web/components/offline-notice.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/offline-notice.tsx b/web/components/offline-notice.tsx index c074efbe5..fa55388bc 100644 --- a/web/components/offline-notice.tsx +++ b/web/components/offline-notice.tsx @@ -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 = {