1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-23 22:04:47 +02:00
957: Correct hardcoded WEBROOT_REDIRECT r=mergify[bot] a=ahwebd

We should not assume that the user has chosen the word "webmail" for his webmail path.

Co-authored-by: Ahmed H <ahwebd@gmail.com>
This commit is contained in:
bors[bot]
2019-05-08 12:37:45 +00:00

View File

@@ -113,7 +113,11 @@ COMPRESSION_LEVEL={{ compression_level }}
###################################
# Path to redirect / to
WEBROOT_REDIRECT=/webmail
{% if webmail_type != 'none' and webmail_path == '' %}
WEBROOT_REDIRECT=/
{% else %}
WEBROOT_REDIRECT={{ webmail_path }}
{% endif %}
# Path to the admin interface if enabled
WEB_ADMIN={{ admin_path }}