mirror of https://github.com/openspug/spug
U 优化发布表单数据录入
parent
257814a120
commit
05cc791ac8
|
@ -108,6 +108,7 @@ class DeployView(View):
|
|||
).parse(request.body)
|
||||
if error:
|
||||
return json_response(error=error)
|
||||
extend_form.dst_dir = extend_form.dst_dir.rstrip('/')
|
||||
extend_form.filter_rule = json.dumps(extend_form.filter_rule)
|
||||
extend_form.custom_envs = json.dumps(parse_envs(extend_form.custom_envs))
|
||||
if form.id:
|
||||
|
|
Loading…
Reference in New Issue