aboutsummaryrefslogtreecommitdiffstats
path: root/start
diff options
context:
space:
mode:
authorLibravatar thursday <xthursdayx@mailbox.org>2021-11-23 11:18:56 -0500
committerLibravatar GitHub <noreply@github.com>2021-11-23 11:18:56 -0500
commit23372c761c417a997797a4c5a978e4a7d54d9dce (patch)
tree4ed34c1a962bad9aa630fe39c3c314aa88723dcb /start
parentMerge pull request #3 from getferdi/master (diff)
downloadferdium-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.js2
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},
8we just recieved a request to reset your password of your Ferdi account. 8we just recieved a request to reset your password of your Ferdi account.
9Use the link below to reset your password. If you havn't requested this, please ignore this message. 9Use 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
13This message was sent automatically. Please do not reply. 13This message was sent automatically. Please do not reply.
14`; 14`;