1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
This commit is contained in:
Florent Daigniere 2022-10-19 16:08:29 +02:00
parent cc2c308d1d
commit 0204c9e59d

View File

@ -29,4 +29,4 @@ def rspamd_dkim_key(domain_name):
@internal.route("/rspamd/local_domains", methods=['GET'])
def rspamd_local_domains():
domains = set(models.Domain.query.all() + models.Alternative.query.all())
return '\n'.join(domains)
return '\n'.join(map(str,domains))