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

Rupato/91559/redirect users to bot deriv #3856

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: for binary bot unsupported lnguages
  • Loading branch information
rupato-deriv committed Mar 27, 2023
commit bd669cd08a6156f7174658a2dc59ee4f96cee8dc
1 change: 1 addition & 0 deletions src/common/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const elements = ['#notification-banner', '#main', '#footer', '#header'];
export const getLanguage = () => {
const queryLang = parseQueryString().l;
const checkIsSupported = queryLang in supportedLanguages;
// eslint-disable-next-line camelcase
const un_supported_languages = ['id', 'tr'];
const checkLanguageNotSupported = () =>
un_supported_languages.includes(queryLang) ? 'en' : getStorage('lang') || 'en';
Expand Down
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