diff --git a/components/go_to_native_app/go_to_native_app.jsx b/components/go_to_native_app/go_to_native_app.jsx index 490f87bd514c..cca29dc49130 100644 --- a/components/go_to_native_app/go_to_native_app.jsx +++ b/components/go_to_native_app/go_to_native_app.jsx @@ -22,6 +22,9 @@ export default class GoNativeApp extends PureComponent { let nativeLocation = window.location.href.replace('/vault#', ''); nativeLocation = nativeLocation.replace(/^(http|https)/, 'mattermost'); + //***** TESTING PURPOSE - REMOVE BEFORE MERGE **** + nativeLocation = nativeLocation.replace(/\/\/[^/]+/, '//pre-release.mattermost.com'); + safeOpenProtocol(nativeLocation, () => this.setState({protocolUnsupported: true}), () => setTimeout(redirectWeb, 3000),