This commit is contained in:
flaskfarm
2022-10-03 02:18:11 +09:00
parent 269a7e5234
commit 306a160d6b
2 changed files with 4 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ class ModuleHome(PluginModuleBase):
elif command == 'get_config':
data = {}
for key, value in F.app.config.items():
data[key] = str(value)
if key not in ['SECRET_KEY']:
data[key] = str(value)
ret = {'json':{'Framework':F.config, 'Flask':data}}
return jsonify(ret)