Redirecting to Staging after login

I am new to the concept staging, production, etc. In my liveView, after a user logs in, he is redirected to the /admin (I am not sure where this code is present, but I could figure this out through the server) in the project I am working on. I would like the user to be redirected to the staging link
https://myapp.host/ but I am a little confused on where this change should be made (which file) and how? Any suggestions on how to do this? Thank you :slight_smile:

It all depends on how your app is structured - it’s hard to give an answer without knowing the project you’re working on. How familiar are you with Phoenix in general?

Some links:

1 Like