NuxtN
Nuxt2y ago
10 replies
charles1410

Help with proxy config in NUXT 3

Hello everyone i had an issue with the configuration of a nuxt proxy to use with axios. the problem, i think is on Nitro devProxy object.

here is the code and console message:

nuxt.config.ts:
https://pastebin.com/jHJrSq3u


Axios config File:
https://pastebin.com/HhcqzmP2

if you see in the image, the proxy isnt setted on url, backwards the request get is still on localhost.


i hope you can help me, please :C

thank you for read.
image.png
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?