test
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -139,4 +139,5 @@ flaskfarm.sh
|
|||||||
export.sh
|
export.sh
|
||||||
run.sh
|
run.sh
|
||||||
pre_start.sh
|
pre_start.sh
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
false/
|
||||||
@@ -25,7 +25,8 @@ class ModuleHome(PluginModuleBase):
|
|||||||
elif command == 'get_config':
|
elif command == 'get_config':
|
||||||
data = {}
|
data = {}
|
||||||
for key, value in F.app.config.items():
|
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}}
|
ret = {'json':{'Framework':F.config, 'Flask':data}}
|
||||||
return jsonify(ret)
|
return jsonify(ret)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user