CORS 허용 설정이 작동하지 않는 문제 수정

This commit is contained in:
joyfuI
2020-10-11 00:41:29 +09:00
parent 8d61a7ca81
commit 36f3ecab76
4 changed files with 15 additions and 10 deletions

View File

@@ -53,11 +53,6 @@ class Logic(object):
except ImportError:
logger.debug('glob2 install')
logger.debug(subprocess.check_output([sys.executable, '-m', 'pip', 'install', 'glob2'], universal_newlines=True))
try:
import flask_cors
except ImportError:
logger.debug('flask-cors install')
logger.debug(subprocess.check_output([sys.executable, '-m', 'pip', 'install', 'flask-cors'], universal_newlines=True))
# youtube-dl 업데이트
logger.debug('youtube-dl upgrade')