API calls for auth not working in docker container

I am using SvelteKit and I do have the hooks.server.ts file, and it works just fine using pnpm run dev and even when I build it and run pnpm run preview. When I build a docker image however, the app loads just fine and everything works except for the /api/auth calls. I try with curl even and I just get the 404 page response. I have the base url set to localhost:3000, I am exposing the 3000:3000 port so everything matches and still nothing. Any ideas why?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?