milesmcc / shynet

Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
Apache License 2.0
2.87k stars 180 forks source link

Correct hostname for emails #302

Closed SudoVanilla closed 5 months ago

SudoVanilla commented 8 months ago

When sending a reset password email, or any email containing a link to the instance, it will show "localhost" instead of "shynet.example.org".

Not sure what variable to set in the .env file.

image

Neeraj2412 commented 7 months ago

Hi @SudoVanilla, can you assign me this task?

SudoVanilla commented 7 months ago

I'm not able to set assignees on this repo, but I know this may be related to the following file: https://github.com/milesmcc/shynet/blob/master/shynet/dashboard/templates/account/email/email_confirmation_message.txt

I did do some modifications on my end and built myself a custom Docker image of Shynet, although I never confirmed if that worked as I did break some other things in the process, those broken things were my fault for fooling around in the code.

Neeraj2412 commented 7 months ago

@SudoVanilla, I went through this file email_confirmation_message.txt the issue seems to be occuring when we run the project locally I think it shall work when we run it on the server with actual domain.