Skip to content

Commit

Permalink
fix: redirection fro staging to p2p staging (#17231) (#17236)
Browse files Browse the repository at this point in the history
Co-authored-by: nada-deriv <[email protected]>
  • Loading branch information
heorhi-deriv and nada-deriv authored Oct 17, 2024
1 parent 828f210 commit 17cdf1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/p2p/src/pages/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Routes from 'Components/routes';
import './app.scss';

const App = () => {
const is_production = process.env.NODE_ENV === 'production';
const is_production = window.location.origin === URLConstants.derivAppProduction;
const [is_p2p_standalone_enabled, isGBLoaded] = useGrowthbookGetFeatureValue({
featureFlag: 'p2p_standalone_enabled',
defaultValue: false,
Expand Down

0 comments on commit 17cdf1a

Please sign in to comment.