订阅增加代理参数

This commit is contained in:
whyour
2022-11-13 23:58:42 +08:00
parent 5ee00e52a8
commit 0a6166c557
5 changed files with 25 additions and 3 deletions
+13
View File
@@ -439,6 +439,19 @@ const SubscriptionModal = ({
</Form.Item>
</>
)}
<Form.Item
name="proxy"
label="代理"
tooltip="公开仓库支持HTTP/SOCK5代理,私有仓库支持SOCK5代理"
>
<Input
placeholder={
type === 'private-repo'
? 'SOCK5代理,例如 IP:PORT'
: 'HTTP/SOCK5代理,例如 http://127.0.0.1:1080'
}
/>
</Form.Item>
</Form>
</Modal>
);