$fetch goes to the incorrect url
Attache are some screenshots. I'm attempting to call my local api endpoint below, but somehow its being sent to https://localhost:7196/Account/Login?ReturnUrl=%2Fapi%2FStore%2FProduct%2FAdd. These is a currently hard-coded endpoint and should go to Product/Add. I'm using nuxt 3.
the last screenshot shows the swagger endpoint (.NET web api)
my nuxt config is below as well:
2 Replies
nuxt config
that was it! attention to detail ugh
thank you