Hello.
I deployed my app( using umbrella app ) to heroku.
But I got an issue with custom address in heroku. The problem is when I launched my site, it shows me correct custom domain address (like www.example.com) But after login it must show “www.example.com/dashboard” but it shows me “www. whispering-hamlet-32114.herokuapp.com/dashboard” -> Heroku app address.
So I wonder what cause this problem (from heroku setting? Namecheap? or in my app)
In my prod.exs
config :myapp, Myapp.Web.Endpoint,
load_from_system_env: true,
url: [scheme: "https", host: "whispering-hamlet-32114.herokuapp.com", port: 443],
force_ssl: [rewrite_on: [:x_forwarded_proto]],
cache_static_manifest: "priv/static/cache_manifest.json",
secret_key_base: Map.fetch!(System.get_env(), "SECRET_KEY_BASE")
Do I have to change host: "whispering-hamlet-32114.herokuapp.com"
to my custom domain? likehost: "example.com"
??