Update ereuse_devicehub/resources/documents/documents.py

Co-authored-by: Jordi Nadeu <j.nadeu@ereuse.org>
This commit is contained in:
cayop 2021-04-12 11:47:26 +02:00 committed by GitHub
parent 5af22b6ec6
commit e40b297f3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -331,7 +331,7 @@ class WbConfDocumentView(DeviceView):
env = flask.render_template('documents/wbSettings.ini', **data)
output = make_response(env)
output.headers['Content-Disposition'] = 'attachment; filename=Configuration.ini'
output.headers['Content-Disposition'] = 'attachment; filename=settings.ini'
output.headers['Content-type'] = 'text/plain'
return output