We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7446fdb commit 3b47c88Copy full SHA for 3b47c88
src/index.tsx
@@ -39,7 +39,10 @@ const App = () => {
39
if (
40
// https://example.com
41
!pncUrl.startsWith(window.location.origin) &&
42
- process.env.REACT_APP_WEB_UI_URL !== window.location.origin &&
+ !(
43
+ process.env.REACT_APP_WEB_UI_URL !== window.location.origin ||
44
+ process.env.REACT_APP_WEB_SECONDARY_UI_URL !== window.location.origin
45
+ ) &&
46
// example.com
47
window.location.hostname !== 'localhost'
48
) {
0 commit comments