1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-30 04:30:49 +02:00

remove another warning

ERROR:root:Not sure what to do with  in PROXY_PROTOCOL (None)
This commit is contained in:
Florent Daigniere 2024-06-19 14:52:43 +02:00
parent cfd7e6b690
commit 12c1affc05

View File

@ -76,7 +76,7 @@ PROTO_ALL_BUT_HTTP=PROTO_MAIL.copy()
PROTO_ALL_BUT_HTTP.extend(['443'])
PROTO_ALL=PROTO_ALL_BUT_HTTP.copy()
PROTO_ALL.extend(['80'])
for item in args.get('PROXY_PROTOCOL', '').split(','):
for item in args.get('PROXY_PROTOCOL', None).split(','):
if item.isdigit():
args[f'PROXY_PROTOCOL_{item}']=True
elif item == 'mail':