test
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -140,3 +140,4 @@ export.sh
|
||||
run.sh
|
||||
pre_start.sh
|
||||
*.code-workspace
|
||||
false/
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user