You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to modify detectBrowserLanguage.cookieDomain in runtime?
Current problem: we have multiple second-level domains in our organization and we need same build for each of them. Also, we have multiple different apps that are working on different third-level domains and we want to sync selected language via cookies. So, my idea is somehow modify cookieDomain in runtime to match it to second-level domain of the current host. Is it possible to achieve?
Thank you :)
P.S. Ssr option set to false, app is working only on client
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys!
Is it possible to modify detectBrowserLanguage.cookieDomain in runtime?
Current problem: we have multiple second-level domains in our organization and we need same build for each of them. Also, we have multiple different apps that are working on different third-level domains and we want to sync selected language via cookies. So, my idea is somehow modify cookieDomain in runtime to match it to second-level domain of the current host. Is it possible to achieve?
Thank you :)
P.S. Ssr option set to false, app is working only on client
Beta Was this translation helpful? Give feedback.
All reactions