change server

This commit is contained in:
2025-09-24 01:24:28 +08:00
parent 6e1e3ef0c6
commit 40663de7c6

View File

@@ -7,7 +7,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DATABASES = { DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql", "ENGINE": "django.db.backends.postgresql",
"HOST": "150.158.29.156", "HOST": "10.13.114.114",
"PORT": "5432", "PORT": "5432",
"NAME": "onlinejudge", "NAME": "onlinejudge",
"USER": "onlinejudge", "USER": "onlinejudge",
@@ -16,7 +16,7 @@ DATABASES = {
} }
REDIS_CONF = { REDIS_CONF = {
"host": "150.158.29.156", "host": "10.13.114.114",
"port": 6379, "port": 6379,
} }