mirror of
https://github.com/kingmo888/rustdesk-api-server.git
synced 2026-02-21 10:27:23 +08:00
取消跨域js调用的验证
This commit is contained in:
parent
82880b11b5
commit
86f99e3917
BIN
db/db.sqlite3
BIN
db/db.sqlite3
Binary file not shown.
@ -15,7 +15,7 @@ from pathlib import Path
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
CSRF_TRUSTED_ORIGINS = [os.environ.get("CSRF_TRUSTED_ORIGINS", "http://www.baidu.com")]
|
||||
|
||||
SECURE_CROSS_ORIGIN_OPENER_POLICY = 'None'
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user