From ec7413b69381e9a8e923b64eab03454638043a5d Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 12 Oct 2023 11:19:31 +0800 Subject: [PATCH] fix(node): fix letter case itssue in http method Fixes: #38 --- htdocs/luci-static/resources/view/homeproxy/node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/luci-static/resources/view/homeproxy/node.js b/htdocs/luci-static/resources/view/homeproxy/node.js index 3f069733..019f2278 100644 --- a/htdocs/luci-static/resources/view/homeproxy/node.js +++ b/htdocs/luci-static/resources/view/homeproxy/node.js @@ -948,8 +948,8 @@ return view.extend({ so.modalonly = true; so = ss.option(form.Value, 'http_method', _('Method')); - so.value('get', _('GET')); - so.value('put', _('PUT')); + so.value('GET', _('GET')); + so.value('PUT', _('PUT')); so.depends('transport', 'http'); so.modalonly = true;