enhance(plugin): change marketplace metadata requests to node fetch client

This commit is contained in:
charlie
2022-06-12 17:52:22 +08:00
committed by Tienson Qin
parent 826a075b4f
commit de9ab5ed44
3 changed files with 27 additions and 20 deletions

View File

@@ -372,7 +372,6 @@
[:p [:label [:strong (t :type)]
(ui/select [{:label "Disabled" :value "" :selected disabled?}
{:label "http" :value "http" :selected (= protocol "http")}
{:label "https" :value "https" :selected (= protocol "https")}
{:label "socks5" :value "socks5" :selected (= protocol "socks5")}]
#(set-opts!
(assoc opts :protocol (if (= "disabled" (util/safe-lower-case %)) nil %))) nil)]]