nuxt-community / axios-module

Secure and easy axios integration for Nuxt 2
https://axios.nuxtjs.org
MIT License
1.19k stars 245 forks source link

language param in url #449

Closed n4an closed 3 years ago

n4an commented 3 years ago

If I make a request with url /api/auth/login then I see in browser console the unchanged url, but if I change url to something else like /xapi/auth/login then the url is /en/xapi/auth/login, but also i18n locale is not en at the same moment but other. How to disable the auto add of local param to url, or the local to be added to all url and corect one not default?

n4an commented 3 years ago

I set

axios: { baseURL: 'http://127.0.0.1:3000/', }

and language param no more inserted