From 5ff0d61ffbe419ba9021f4769163a8b4e117accd Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 19 Feb 2024 11:04:46 +0100 Subject: [PATCH] fix(ui): fix subheader origin check --- .../app/components/Session/Player/ReplayPlayer/PlayerBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlock.tsx b/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlock.tsx index 5fea4e393..bb8420b51 100644 --- a/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlock.tsx +++ b/frontend/app/components/Session/Player/ReplayPlayer/PlayerBlock.tsx @@ -20,7 +20,7 @@ function PlayerBlock(props: IProps) { const { fullscreen, sessionId, disabled, activeTab, jiraConfig, fullView = false, setActiveTab } = props; const originStr = window.env.ORIGIN || window.location.origin - const isSaas = /api\.openreplay\.com/.test(originStr) + const isSaas = /app\.openreplay\.com/.test(originStr) const shouldShowSubHeader = !fullscreen && !fullView; return (