mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-02 08:08:36 +00:00
feat: add informational banner to proxy settings in SystemSetting.jsx
This commit is contained in:
@@ -705,8 +705,15 @@ const SystemSetting = () => {
|
|||||||
|
|
||||||
<Card>
|
<Card>
|
||||||
<Form.Section text={t('代理设置')}>
|
<Form.Section text={t('代理设置')}>
|
||||||
|
<Banner
|
||||||
|
type='info'
|
||||||
|
description={t(
|
||||||
|
'此代理仅用于图片请求转发,Webhook通知发送等,AI API请求仍然由服务器直接发出,可在渠道设置中单独配置代理',
|
||||||
|
)}
|
||||||
|
style={{ marginBottom: 20, marginTop: 16 }}
|
||||||
|
/>
|
||||||
<Text>
|
<Text>
|
||||||
(支持{' '}
|
{t('仅支持')}{' '}
|
||||||
<a
|
<a
|
||||||
href='https://github.com/Calcium-Ion/new-api-worker'
|
href='https://github.com/Calcium-Ion/new-api-worker'
|
||||||
target='_blank'
|
target='_blank'
|
||||||
@@ -714,7 +721,7 @@ const SystemSetting = () => {
|
|||||||
>
|
>
|
||||||
new-api-worker
|
new-api-worker
|
||||||
</a>
|
</a>
|
||||||
)
|
{' '}{t('或其兼容new-api-worker格式的其他版本')}
|
||||||
</Text>
|
</Text>
|
||||||
<Row
|
<Row
|
||||||
gutter={{ xs: 8, sm: 16, md: 24, lg: 24, xl: 24, xxl: 24 }}
|
gutter={{ xs: 8, sm: 16, md: 24, lg: 24, xl: 24, xxl: 24 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user