-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds langs to path and redirect to staging if payment method is advcash or payeer #7
base: master
Are you sure you want to change the base?
Conversation
index.js
Outdated
let params = {}; | ||
if (req.query.cur_from && req.query.cur_to) { | ||
|
||
// Dont add language path in url, if its not n.exchange |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if some new whitelabels come that use our lang param?
However whitelabels generally do not get traffic from bestchange
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Client side routing will be used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced it with const languageRedirect = true;
when set to true, language will be added in url path while redirecting
53d9a6c
to
752ea3c
Compare
languageRedirect
is set to true