serverside component can reach my api but not client side in nextjs13 and golang #11266
Unanswered
ramyjaber1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i'm new to docker and i wanna deploy my app to a VPS so i thought dockerizing my app will be a good idea.
building and running the containers works fine without any problem but when visit my app
the first route http://my-backend-url/me ( triggered from a server-side component) works perfectly and it redirect me to login screen as it should and i can see the log in my api container terminal
but when i try to login http://my-backend-url/login (triggered from a client-side component) i immediately get a failed in the network tab in the browser
this is a minimal repo : https://github.com/ramyjaber1/next-golang
Beta Was this translation helpful? Give feedback.
All reactions