fix(ui): fix subheader origin check

This commit is contained in:
nick-delirium 2024-02-19 11:04:46 +01:00
parent aa07dfa5f4
commit 5ff0d61ffb
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -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 (