Files
x-ui/web/html/xui/form/stream/stream_http.html
Ho3ein ce9e710840 Upgrade packages (#1179)
* clipboard.js v2.0.11

* axios v0.28.1

* URI.js v1.19.11

* vue v2.7.16

* OCPD

* default config - UseIP domainStrategy

* minify css
2024-04-20 12:58:30 +02:00

19 lines
828 B
HTML

{{define "form/streamHTTP"}}
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label='{{ i18n "path" }}'>
<a-input v-model.trim="inbound.stream.http.path"></a-input>
</a-form-item>
<a-form-item>
<template slot="label">{{ i18n "host" }}
<a-button size="small" @click="inbound.stream.http.addHost()">+</a-button>
</template>
<template v-for="(host, index) in inbound.stream.http.host">
<a-input v-model.trim="inbound.stream.http.host[index]">
<a-button size="small" slot="addonAfter"
@click="inbound.stream.http.removeHost(index)"
v-if="inbound.stream.http.host.length>1">-</a-button>
</a-input>
</template>
</a-form-item>
</a-form>
{{end}}