Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Email links - Base URL Setting #2848

Open
Er1c85 opened this issue Dec 6, 2024 · 2 comments
Open

[Feature]: Email links - Base URL Setting #2848

Er1c85 opened this issue Dec 6, 2024 · 2 comments
Assignees
Labels

Comments

@Er1c85
Copy link

Er1c85 commented Dec 6, 2024

What is your set up?

Open Source package running on LAMP server. v 3.3.3

Is your feature request related to a problem? Please describe

When Leantime sends emails without a LEAN_APP_URL defined, it has been using a local DNS name when generating the links.

Describe the solution you'd like

A config option (or better yet, a setting on the web interface) to support configuring a BASE_URL for any email links.

Additional context

No response

@marcelfolaron
Copy link
Contributor

Does this issue get resolved when LEAN_APP_URL is set?

@Er1c85
Copy link
Author

Er1c85 commented Dec 12, 2024

Does this issue get resolved when LEAN_APP_URL is set?

Yes because with LEAN_APP_URL set, the ability to run Leantime from other BASE_URLs no longer exists. The configuration I was using was such that I would often use a VPN and local DNS address, but I still had a internet-facing URL for external users that don't have VPN access. Whichever user is active when the email message is generated by the server, it is their BASE_URL that is used for links in the email message.

My suggestion to keep all functionality the same and fix this issue would be to, when users connect, store their specific BASE_URL in their user settings database. Then, when that user is messaged, use the BASE_URL from their user settings to issue them an email message that references the server the same way they had been when last connected.

Thanks again for your support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants