Static GitHub Issues

[2135] proxy don't work

prev: ReferenceError : "window is not defined"
next: Wher can i use the context object ?

I have set proxy and it works if i used app.$axios in nuxtServerInit and asyncData and fetch. but if i used in other method there is error, http 404, I guess the proxy is not work. so what can i do ?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1892">#c1892</a>)</em></sub></div>