monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.8k stars 2.19k forks source link

Wrong URL in email (containing localhost) #7168

Open chevdor opened 9 months ago

chevdor commented 9 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

Wrong URL in email (containing localhost)

Steps to reproduce

  1. Setup APP_URL. ie APP_URL: monica.mydomain.com
  2. Get a reminder email
  3. See the URL in the email, it will be https://localhost/monica.mydomain.com/people/<...> instead of https://monica.mydomain.com/people/<...>

Expected behavior

The link in the email follows the APP_URL.

Environment

Your own self-hosted instance (monica v4)

Version of Monica

4.0.0

Installation method

Docker / k8s

Web server

Traefik / nginx

Database engine version

MariaDB

Additional info

I made an attempt to use APP_URL: https://monica.mydomain.com. I am now waiting for the next reminders to see whether that helps.

chevdor commented 9 months ago

...and that did the trick.

TODO

Mr1131 commented 3 weeks ago

i would like to contribute on same.