we have deployed both Medusa JS backend (admin) and frontend ecommerce store. Both projects have been deployed on AWS server.
In the backend server admin, there is a small problem; the GET/POST request is hitting the localhost:9000 server endpoint. But we tried to change the endpoint from the env level to by adding it in the code statically nd still not working.
My concern is, do we need to add any special build command in the Medusa JS config.js file in order to deploy this?
Or if there is any simple method to deploy medusa backend we can follow that by creating a fresh medusa js project