Nolan
Fetch + External API issue
Hello,
I'm developing a front-end under nuxt and an api under AdonisJS. I have a /api/v1/me route that returns the information for a user associated with a bearer token.
When I call the fetch method, I can see in my browser that it responds with a 200, but Nuxt tells me a 404
I think it's because I have a Caddy server with two reverse proxies, /api/v1 is redirected to my AdonisJS app and the rest to Nuxt. Here's my current middleware:
6 replies