Localhost in URL in production

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

Ficdb uses Veil - https://github.com/zanderxyz/veil - 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

2 Likes

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

1 Like

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

1 Like

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

1 Like

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.

2 Likes