Excluding /api/_nuxt_icon from Proxy
i’m working on a Nuxt project where i’ve configured a proxy to forward API requests to an external server. however, i’ve noticed that the
here's my nuxt config file:
how can i exclude the
/api/_nuxt_icon endpoint, which seems to be used by Nuxt for icon handling, is being proxied to my API web server (http://localhost:3030/api/**) instead of being served by Nuxt itself. this causes issues as the endpoint should be handled locally by Nuxt, not the external API server. here's my nuxt config file:
how can i exclude the
/api/_nuxt_icon endpoint from being proxied so that it is served by Nuxt’s local server instead of the external API server?