修改目录

This commit is contained in:
mkg
2021-11-14 20:15:26 +08:00
parent 9051e8138c
commit f75928119e
988 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ from applications.configs import config
def create_app(config_name=None):
app = Flask(__name__)
app = Flask(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
if not config_name:
# 尝试从本地环境中读取