This commit is contained in:
2025-06-14 18:52:14 +08:00
parent 0b576bd67d
commit 02ee531506
2 changed files with 4 additions and 0 deletions

View File

@@ -21,4 +21,6 @@ DEBUG = True
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS = ["http://localhost:5173", "https://ojtest.xuyue.cc"]
DATA_DIR = f"{BASE_DIR}/data" DATA_DIR = f"{BASE_DIR}/data"

View File

@@ -20,4 +20,6 @@ DEBUG = False
ALLOWED_HOSTS = ["*"] ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS = ["https://oj.xuyue.cc"]
DATA_DIR = "/data" DATA_DIR = "/data"