添加prod判断

This commit is contained in:
2022-04-18 09:37:51 +08:00
parent 289a46ab42
commit 07e695c945
3 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,9 @@
import configparser
import os.path
from flask.helpers import get_env
PROD_ENV = get_env() == "production"
# [danmaku]
# exec