Skip to content

Commit

Permalink
取消跨域js调用的验证
Browse files Browse the repository at this point in the history
  • Loading branch information
kingmo888 committed Dec 18, 2023
1 parent 82880b1 commit 86f99e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified db/db.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion rustdesk_server_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# 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/

Expand Down

0 comments on commit 86f99e3

Please sign in to comment.