diff options
author | thursday <xthursdayx@mailbox.org> | 2021-11-23 11:18:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 11:18:56 -0500 |
commit | 23372c761c417a997797a4c5a978e4a7d54d9dce (patch) | |
tree | 4ed34c1a962bad9aa630fe39c3c314aa88723dcb /start | |
parent | Merge pull request #3 from getferdi/master (diff) | |
download | ferdium-server-23372c761c417a997797a4c5a978e4a7d54d9dce.tar.gz ferdium-server-23372c761c417a997797a4c5a978e4a7d54d9dce.tar.zst ferdium-server-23372c761c417a997797a4c5a978e4a7d54d9dce.zip |
APP_URL changed to EXTERNAL_DOMAIN
To fix problems with missing APP_URL variable. APP_URL=http://${HOST}:${PORT} but HOST is no longer set as a Docker env variable. APP_URL being set with http as default is also causing problems for some users.
Diffstat (limited to 'start')
-rw-r--r-- | start/events.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/start/events.js b/start/events.js index c4076cc..b2356d0 100644 --- a/start/events.js +++ b/start/events.js | |||
@@ -8,7 +8,7 @@ Hello ${user.username}, | |||
8 | we just recieved a request to reset your password of your Ferdi account. | 8 | we just recieved a request to reset your password of your Ferdi account. |
9 | Use the link below to reset your password. If you havn't requested this, please ignore this message. | 9 | Use the link below to reset your password. If you havn't requested this, please ignore this message. |
10 | 10 | ||
11 | ${Env.get('APP_URL')}/user/reset?token=${encodeURIComponent(token)} | 11 | ${Env.get('EXTERNAL_DOMAIN')}/user/reset?token=${encodeURIComponent(token)} |
12 | 12 | ||
13 | This message was sent automatically. Please do not reply. | 13 | This message was sent automatically. Please do not reply. |
14 | `; | 14 | `; |