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
in nuxt.config.ts define baseUrl as a function returning a string is not working correctly.
Problematic for apps with differentDomains: true as the canonical url generated by the module for SEO purposes always points the defaultLocales domain regardless for the current active locale.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
I use the useRequest() function since I want the baseURL to be dynamic based on the domain. But you can put any operations you want there.
I am not sure if that's a safe approach also however the result of useLocaleHead included the baseUrl in the paths so it looks like the Seo Requirements are met with this approach.
Environment
Reproduction
https://stackblitz.com/edit/nuxt-starter-qqn2vx
Describe the bug
in nuxt.config.ts define baseUrl as a function returning a string is not working correctly.
Problematic for apps with
differentDomains: true
as the canonical url generated by the module for SEO purposes always points the defaultLocales domain regardless for the current active locale.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: