Localhost in URL in production

Hey all, just launched my first project: https://ficdb.com/

Ficdb uses Veil - GitHub - zanderxyz/veil: Simple passwordless authentication for your Phoenix apps · GitHub - as my login solution.

Super excited! Just ran into my first bug where the sign up link that my authentication system uses sends users to “localhost:4000/uniqueloginlink”, not “https://ficdb.com/uniqueloginlink

If anyone has any suggestions on what config option I need to change to fix this, would appreciate help ASAP.

I fixed it!

url: [host: "ficdb.com", port: 80],
in prod.ex was the trick

Haha nice - I was just about to post this from another thread similar thread:

Haha, thx. Dumb error, and was in panic-mode, so my brain wasn’t thinking right.

No problem, glad you got it sorted - and nice job on https://ficdb.com :023:

Indeed. Lovely filter/search implementation. Nice touch with showing the time per query. Highest I could get was some 0.11 seconds with a rather complicated filter query. Cool stuff.