diff --git a/src/App.tsx b/src/App.tsx index f032dcf..6693ae5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,7 +27,7 @@ function App() { const [searchParams] = useSearchParams(); const [isOpen] = useSidebarStore((state) => [state.isOpen]); const [loading, setLoading] = useState(false); - const [countdownTimer, setCountdownTimer] = useState(10); + const [countdownTimer, setCountdownTimer] = useState(15); // const host = window.location.host; const { t, i18n } = useTranslation(); const build = searchParams.get("build") || null; @@ -67,7 +67,7 @@ function App() { setTimeout(() => { navigate(`/stream/${response.stream}`); - }, 10000); + }, 15000); } else { setLoading(false); toastError("Превышен лимит одновременных сессий, попробуйте позже."); diff --git a/src/components/modals/QRCodeModal.tsx b/src/components/modals/QRCodeModal.tsx index 0f394ae..aea51d6 100644 --- a/src/components/modals/QRCodeModal.tsx +++ b/src/components/modals/QRCodeModal.tsx @@ -21,7 +21,7 @@ function QRCodeModal() { bgColor="#131317" fgColor="#F2F2F2" size={128} - value={window.location.href} + value={window.location.origin + window.location.pathname} viewBox={`0 0 256 256`} /> diff --git a/src/components/modals/ShareModal.tsx b/src/components/modals/ShareModal.tsx index de67e05..d96e18d 100644 --- a/src/components/modals/ShareModal.tsx +++ b/src/components/modals/ShareModal.tsx @@ -51,7 +51,7 @@ function ShareModal() { readOnly type="text" className="bg-[#23242A] rounded px-4 py-3 outline-none" - value={window.location.href} + value={window.location.origin + window.location.pathname} />