mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-31 18:18:05 +00:00 
			
		
		
		
	make it save as a file, name {domain}-zonefile.txt
This commit is contained in:
		| @@ -84,7 +84,7 @@ def domain_download_zonefile(domain_name): | |||||||
|         final = final + domain.dns_tlsa |         final = final + domain.dns_tlsa | ||||||
|     for i in domain.dns_autoconfig: |     for i in domain.dns_autoconfig: | ||||||
|         final = final + i+"\n" |         final = final + i+"\n" | ||||||
|     return flask.Response(final,content_type="text/plain") |     return flask.Response(final,content_type="text/plain",headers={'Content-disposition': 'attachment; filename='+domain.name+'-zonefile.txt'}) | ||||||
|  |  | ||||||
|  |  | ||||||
| @ui.route('/domain/genkeys/<domain_name>', methods=['GET', 'POST']) | @ui.route('/domain/genkeys/<domain_name>', methods=['GET', 'POST']) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Miłosz Thiede
					Miłosz Thiede