Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit d547106

Browse files
authored
Merge pull request #3732 from sara-fs/add-brand-ws
Sara / Added brand to ws
2 parents 8aa4636 + 8381a25 commit d547106

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/common/appId.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,18 @@ export const getWebSocketURL = () => `wss://${getServerAddressFallback()}/websoc
9696
export const generateWebSocketURL = serverUrl => `wss://${serverUrl}/websockets/v3`;
9797

9898
export const getOAuthURL = () =>
99-
`https://${generateOAuthDomain()}/oauth2/authorize?app_id=${getAppIdFallback()}&l=${getLanguage().toUpperCase()}`;
99+
`https://${generateOAuthDomain()}/oauth2/authorize?app_id=${getAppIdFallback()}&l=${getLanguage().toUpperCase()}&brand=binary`;
100100

101101
export const getOAuthURLDeriv = () =>
102-
`https://oauth.deriv.com/oauth2/authorize?app_id=31665&l=${getLanguage().toUpperCase()}`;
102+
`https://oauth.deriv.com/oauth2/authorize?app_id=31665&l=${getLanguage().toUpperCase()}&brand=deriv`;
103103

104104
// 19111
105105

106106
const options = {
107107
apiUrl : getWebSocketURL(),
108108
language: getLanguage().toUpperCase(),
109109
appId : getAppIdFallback(),
110+
brand : 'binary',
110111
};
111112

112113
export const generateLiveApiInstance = () => new LiveApi(options);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy