From 05cc791ac8022940b2083985fc1cb4b50f17af74 Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 12 Jun 2020 12:02:56 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=95=B0=E6=8D=AE=E5=BD=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/apps/app/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spug_api/apps/app/views.py b/spug_api/apps/app/views.py index 64171b2..d6a12db 100644 --- a/spug_api/apps/app/views.py +++ b/spug_api/apps/app/views.py @@ -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: