From 8465345a03fa2b04cf00bca1189b61d0ecd67514 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 25 Sep 2020 11:25:14 +0800 Subject: [PATCH] setting false --- client/.env.development | 2 +- server/server/settings_dev.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/.env.development b/client/.env.development index 0c9b7ed..f0aff47 100644 --- a/client/.env.development +++ b/client/.env.development @@ -2,7 +2,7 @@ ENV = 'development' # base api -VUE_APP_BASE_API = 'http://localhost:8000' +VUE_APP_BASE_API = 'http://localhost:8000/api' # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, # to control whether the babel-plugin-dynamic-import-node plugin is enabled. diff --git a/server/server/settings_dev.py b/server/server/settings_dev.py index f780543..2e98f3d 100644 --- a/server/server/settings_dev.py +++ b/server/server/settings_dev.py @@ -1,5 +1,5 @@ from .settings import * -DEBUG = True +DEBUG = False DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',