From c533ae2d907f9266468dbbf189328f2e7e0bff03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=91=E5=AD=90=E4=BB=99=E6=9C=BA?= Date: Fri, 18 Feb 2022 08:38:28 +0000 Subject: [PATCH] =?UTF-8?q?!34=20=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=BAproduct=20*=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=8E=AF=E5=A2=83=E4=B8=BAproduct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sysom_api/sysom/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysom_api/sysom/settings.py b/sysom_api/sysom/settings.py index 64ac03d..1a5ff39 100644 --- a/sysom_api/sysom/settings.py +++ b/sysom_api/sysom/settings.py @@ -1,13 +1,13 @@ import os -env = os.environ.get("env", "testing") +env = os.environ.get("env", "product") if env == "develop": from conf.develop import * elif env == "testing": from conf.testing import * -elif env == "produce": +elif env == "product": from conf.product import * # 跨域允许