Farnabaz
Farnabaz
This is not related to axios. The CORS policy (this policy exists on browsers only) blocks the request because there is invalid origin header in your API response header. Check...
It should work without any changes, because both module and axios itself supports Promises https://github.com/nuxt-community/axios-module/blob/main/types/index.d.ts#L20-L21 https://github.com/axios/axios/blob/master/index.d.ts#L125-L128 Do you mind creating a reproduction sample using [template.nuxtjs.org](https://template.nuxtjs.org)
This might be related to `proxyHeadersIgnore ` https://github.com/nuxt-community/axios-module/blob/main/lib/module.js#L85-L87
Hey, ~Do you mind create a reproduction sample by forking [template.nuxtjs.org](https://template.nuxtjs.org)~ A reproduction sample is provided in #360. https://codesandbox.io/s/eloquent-mountain-uh6f8?file=/plugins/axios.js
Hey, Sorry for the late response. You can create a custom plugin and and modify axios headers. ```js // ~/plugins/some-plugin.js export default function (ctx, inject) { if (process.server) { //...
Hey, Sorry for the late response. Did you manage to find the root cause of the issue?
Thank you for the response, I think this should be fix in the latest, because module does not add any logic to these functions. And the result should be same...
@Amaurgit Proxy does not work in static projects (`nuxt generate`). Static projects does not ship server middle-wares to production, therefore server middleware of proxy module will not work on any...
Hi there, Sorry for the late response Could you provide a reproduction sample using [template.nuxtjs.org](https://template.nuxtjs.org)
The module does not support custom retry as you can see it is not documented in [docs](https://axios.nuxtjs.org/options#retry). Try to require `axios-retry` inside retry function, it might work, otherwise it should...