Simplify Python CORS Origin Check: A Concise Approach
if origin not in settings.CORS_ALLOWED_ORIGINS or referer not in settings.CORS_ALLOWED_ORIGINS: simplified = True else: simplified = False
原文地址: https://www.cveoy.top/t/topic/nXus 著作权归作者所有。请勿转载和采集!