1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00

Ensure mobileconfig has the right content-type

This commit is contained in:
Florent Daigniere 2024-12-22 16:40:44 +01:00
parent 6145e6ef72
commit 64d0bb603d
2 changed files with 2 additions and 1 deletions

View File

@ -180,4 +180,4 @@ def autoconfig_apple():
<integer>1</integer>
</dict>
</plist>\r\n'''
return flask.Response(xml, mimetype='text/xml', status=200)
return flask.Response(xml, content_type='application/x-apple-aspen-config', status=200)

View File

@ -0,0 +1 @@
Ensure the apple mobileconfig is served with the appropriate content-type