mirror of
https://github.com/kingmo888/rustdesk-api-server.git
synced 2026-02-21 18:37:23 +08:00
Update settings.py
This commit is contained in:
parent
afe1ea1f75
commit
10e86e3e39
@ -14,7 +14,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", "None")]
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
|
||||
@ -126,4 +126,4 @@ if DEBUG:
|
||||
else:
|
||||
|
||||
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static') # 新增
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static') # 新增
|
||||
|
||||
Loading…
Reference in New Issue
Block a user