Florent Daigniere 2 years ago
parent cc2c308d1d
commit 0204c9e59d

@ -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))

Loading…
Cancel
Save