Email link return wrong domain url
-
Hello
Everything works well on the forum except the links in the e-mail.
I use mailgun, the mails work as it should but the links return as url:
email.mail.domain / uuid
whereas they should be:
domain / forum / uuid?My config.json :
{ "socket.io": { "origins": "http://mydomain/forum/:* http://mydomain:*" }, "url": "https://mydomain/forum/", "secret": "XX", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": "XX", "database": "XX" } }
Thanks a lot for helping
-
Mail links should use whatever URL you have configured in config.json
Are you sure the links you're looking at aren't redirect tracking links from your email provider?
-
I just reinstalled the forum and everything is working fine.
The links have the right url, I did not have a 403 error even without modifying config.json with socket.io origins.
While at the installation I did not change anything.
But hey, everything works fine, it's the main lol.Thanks, i love to use NodeBB !
(I just put the url of the site when setting up the forum and not by changing config.json later as I had done the first, it may be from there?)