Skip to content
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

Use .env "NUXT_SITE_URL" for "NUXT_PUBLIC_I18N_BASE_URL" #3384

Open
2 of 4 tasks
MickL opened this issue Mar 1, 2025 · 0 comments
Open
2 of 4 tasks

Use .env "NUXT_SITE_URL" for "NUXT_PUBLIC_I18N_BASE_URL" #3384

MickL opened this issue Mar 1, 2025 · 0 comments

Comments

@MickL
Copy link
Contributor

MickL commented Mar 1, 2025

Describe the feature

@nuxtjs/seo is using NUXT_SITE_URL as env variable while @nuxtjs/i18n is using NUXT_PUBLIC_I18N_BASE_URL. This leads to having two environment variables with the same content.

I would suggest for @nuxtjs/i18n to use NUXT_SITE_URL as well, but overwrite with NUXT_PUBLIC_I18N_BASE_URL if set.

Possibly related: #2474

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant