描述文件bug

dependabot/npm_and_yarn/fir_admin/tmpl-1.0.5
youngS 3 years ago
parent 08e7eb3476
commit 81f1f75fb1
  1. 2
      fir_ser/api/views/download.py

@ -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'

Loading…
Cancel
Save