From 3396f9489a8c476b8405bba4062f9be4bb83c72e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 3 Jun 2020 15:28:26 +0800 Subject: [PATCH] redis --- client/.env.production | 2 +- server/server/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/.env.production b/client/.env.production index 63f069a..48f348a 100644 --- a/client/.env.production +++ b/client/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = 'http://121.36.23.77:8035' +VUE_APP_BASE_API = 'http://116.63.176.211:8035' diff --git a/server/server/settings.py b/server/server/settings.py index b2a2484..cacf70b 100644 --- a/server/server/settings.py +++ b/server/server/settings.py @@ -172,7 +172,7 @@ AUTHENTICATION_BACKENDS = ( CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", - "LOCATION": "redis://127.0.0.1:6379/1", + "LOCATION": "redis://127.0.0.1:6379/9", "OPTIONS": { "CLIENT_CLASS": "django_redis.client.DefaultClient", # "PICKLE_VERSION": -1