CORS 옵션 추가 (#1)

* repack

* default db add

* flask_cors install

* activate_cors option on_off

* debug_model

* activate_cors inner ajax func

* cors_option move

* debug

* cors option added.

* activate_cors_added.

* debug

* 변경점 최소화

Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
This commit is contained in:
Choi YunJun
2020-04-07 13:13:21 +09:00
committed by GitHub
parent cce361fe79
commit 9a66d4540f
3 changed files with 11 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
{{ macros.setting_input_text('temp_path', '임시 폴더', value=arg['temp_path'], placeholder='임시 폴더 경로', desc='다운로드 파일이 임시로 저장될 폴더 입니다.') }}
{{ macros.setting_input_text('save_path', '저장 폴더', value=arg['save_path'], placeholder='저장 폴더 경로', desc='정상적으로 완료된 파일이 이동할 폴더 입니다.') }}
{{ macros.setting_input_text('default_filename', '기본 파일명', value=arg['default_filename'], placeholder='저장 폴더 경로', desc=['템플릿 규칙은 https://github.com/ytdl-org/youtube-dl/blob/master/README.md#output-template 참고', '기본값은 "%(title)s-%(id)s.%(ext)s"입니다.']) }}
{{ macros.setting_checkbox('activate_cors', 'CORS 허용', value=arg['activate_cors'], desc='api로의 크로스 도메인요청 허용 유무 입니다. 설정 저장후 재시작이 필요합니다.') }}
{{ macros.setting_button([['setting_save', '저장']]) }}
</form>
</div>