diff --git a/client/.env.production b/client/.env.production index 80c8103..63f069a 100644 --- a/client/.env.production +++ b/client/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = 'http://121.36.23.77:8035' diff --git a/server/server/settings_pro.py b/server/server/settings_pro.py index 007e854..2e98f3d 100644 --- a/server/server/settings_pro.py +++ b/server/server/settings_pro.py @@ -2,11 +2,7 @@ from .settings import * DEBUG = False DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.postgresql', - 'NAME': 'db', - 'USER': 'postgres', - 'PASSWORD': 'password', - 'HOST': 'localhost', - 'PORT': '5432', + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } }