1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-03 00:47:16 +02:00

Ensure mobileconfig has the right content-type

(cherry picked from commit 64d0bb603d)
This commit is contained in:
Florent Daigniere
2024-12-22 16:40:44 +01:00
committed by Mergify
parent 32fb10cb07
commit 7323fbd4a0
2 changed files with 2 additions and 1 deletions

View File

@ -180,4 +180,4 @@ def autoconfig_apple():
<integer>1</integer> <integer>1</integer>
</dict> </dict>
</plist>\r\n''' </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