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
The adjustments I've made to test locally and on my vercel preview branches work perfectly but no luck on my prod environment hosted on Vercel. If i add the subdomain, like so: www.fr.{mydomain}.app, i get a privacy warning error with https scratched out. If i remove the www., like fr.{mydomain.com}, i get a deployment not found error.
What could the issue be? Do i need to add any DNS records to my domain configuration to support these locale-based subdomains?
EDIT: instead of trying fr.{mydomain}.app, i tried {mydomain}.app/fr, the page then translates to my french translation while not indicating the locale in the subdomain (what i expect) or in the path (that makes sense given localePrefix is set to never) but I can navigate between different pages while maintaining the french translation. no idea how this is working 😬
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I'm struggling to implement domain based routing in my application. Here is my routing.ts file:
The adjustments I've made to test locally and on my vercel preview branches work perfectly but no luck on my prod environment hosted on Vercel. If i add the subdomain, like so: www.fr.{mydomain}.app, i get a privacy warning error with https scratched out. If i remove the www., like fr.{mydomain.com}, i get a deployment not found error.
What could the issue be? Do i need to add any DNS records to my domain configuration to support these locale-based subdomains?
EDIT: instead of trying fr.{mydomain}.app, i tried {mydomain}.app/fr, the page then translates to my french translation while not indicating the locale in the subdomain (what i expect) or in the path (that makes sense given localePrefix is set to never) but I can navigate between different pages while maintaining the french translation. no idea how this is working 😬
Beta Was this translation helpful? Give feedback.
All reactions