|
|
@ -75,7 +75,7 @@ class DownloadView(APIView): |
|
|
|
udid_url = get_post_udid_url(request, release_obj.app_id.short) |
|
|
|
udid_url = get_post_udid_url(request, release_obj.app_id.short) |
|
|
|
app_obj = release_obj.app_id |
|
|
|
app_obj = release_obj.app_id |
|
|
|
ios_udid_mobile_config = make_sign_udid_mobile_config(udid_url, app_obj.app_id, app_obj.bundle_id, |
|
|
|
ios_udid_mobile_config = make_sign_udid_mobile_config(udid_url, app_obj.app_id, app_obj.bundle_id, |
|
|
|
app_obj.app_name) |
|
|
|
app_obj.name) |
|
|
|
response = FileResponse(ios_udid_mobile_config) |
|
|
|
response = FileResponse(ios_udid_mobile_config) |
|
|
|
response['Content-Type'] = "application/x-apple-aspen-config" |
|
|
|
response['Content-Type'] = "application/x-apple-aspen-config" |
|
|
|
response['Content-Disposition'] = 'attachment; filename=' + make_random_uuid() + '.mobileconfig' |
|
|
|
response['Content-Disposition'] = 'attachment; filename=' + make_random_uuid() + '.mobileconfig' |
|
|
|