mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-31 10:14:15 +00:00
fix(inbounds): restore xHTTP Headers editor in form
The xHTTP transport schema and share-link emitter already supported a headers map, but the inbound form lost its editor row, so operators had no way to set custom headers on xHTTP inbounds. Add the HeaderMapEditor row in the same position the outbound form uses.
This commit is contained in:
parent
cda7f2ac17
commit
b395a1b951
1 changed files with 6 additions and 0 deletions
|
|
@ -1982,6 +1982,12 @@ export default function InboundFormModal({
|
||||||
>
|
>
|
||||||
<Input />
|
<Input />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item
|
||||||
|
name={['streamSettings', 'xhttpSettings', 'headers']}
|
||||||
|
label={t('pages.inbounds.form.headers')}
|
||||||
|
>
|
||||||
|
<HeaderMapEditor mode="v1" />
|
||||||
|
</Form.Item>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name={['streamSettings', 'xhttpSettings', 'uplinkHTTPMethod']}
|
name={['streamSettings', 'xhttpSettings', 'uplinkHTTPMethod']}
|
||||||
label={t('pages.inbounds.form.uplinkHttpMethod')}
|
label={t('pages.inbounds.form.uplinkHttpMethod')}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue