https://github.com/amarmanhala/weatherapp/
I have made the weather app in nuxtjs. its working fine in development, but when I hosted on netlify darksky api is not calling.

i have used proxy package to secure api key in nuxt.config
proxy: {
'/api': {
target: 'https: i removed url
pathRewrite: {
'^/api' : '/'
}
}
not working?

The proxy module does not work with nuxt generate as documented. Set up the redirects via Netlify itself :relaxed:
For more info :
https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file
https://docs.netlify.com/routing/redirects/rewrites-proxies/
@brankosimic I'd suggest to take a look at https://github.com/nuxt-community/netlify-files-module/ as well 馃構
Most helpful comment
The
proxymodule does not work withnuxt generateas documented. Set up the redirects via Netlify itself :relaxed: