mirror of
https://github.com/Mailu/Mailu.git
synced 2025-05-25 22:48:02 +02:00
Correct hardcoded WEBROOT_REDIRECT
We should not assume that the user has chosen the word "webmail" for his webmail path
This commit is contained in:
parent
42953eb70b
commit
52948fa529
@ -113,7 +113,11 @@ COMPRESSION_LEVEL={{ compression_level }}
|
|||||||
###################################
|
###################################
|
||||||
|
|
||||||
# Path to redirect / to
|
# 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
|
# Path to the admin interface if enabled
|
||||||
WEB_ADMIN={{ admin_path }}
|
WEB_ADMIN={{ admin_path }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user