Merge branch 'super_signature'

pull/1/head
xiaoyu 4 years ago
commit 03a07f01f4
  1. 3
      fir_ser/api/utils/app/supersignutils.py

@ -141,6 +141,9 @@ def get_redirect_server_domain(request, user_obj=None):
else: else:
domain_name = None domain_name = None
if domain_name and len(domain_name) > 3: if domain_name and len(domain_name) > 3:
if domain_name == SERVER_DOMAIN.get("REDIRECT_UDID_DOMAIN").split("//")[1]:
server_domain = SERVER_DOMAIN.get("REDIRECT_UDID_DOMAIN")
else:
server_domain = "%s://%s" % ('http', domain_name) # 第三方域名暂时不支持HTTPS server_domain = "%s://%s" % ('http', domain_name) # 第三方域名暂时不支持HTTPS
else: else:
server_domain = SERVER_DOMAIN.get('REDIRECT_UDID_DOMAIN', None) server_domain = SERVER_DOMAIN.get('REDIRECT_UDID_DOMAIN', None)

Loading…
Cancel
Save