Skip to content

Commit

Permalink
small enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Jan 11, 2024
1 parent 85c2d2e commit 025545f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions web/html/xui/form/stream/stream_tcp.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
</a-form-item>
</a-form>

<!-- tcp request -->
<a-form v-if="inbound.stream.tcp.type === 'http'" :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<!-- tcp request -->
<a-divider style="margin:0;">{{ i18n "pages.inbounds.stream.general.requestHeader" }}</a-divider>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestVersion" }}'>
<a-input v-model.trim="inbound.stream.tcp.request.version"></a-input>
</a-form-item>
Expand Down Expand Up @@ -45,7 +46,8 @@
</a-input>
</a-input-group>
</a-form-item>
<!-- tcp response -->
<!-- tcp response -->
<a-divider style="margin:0;">{{ i18n "pages.inbounds.stream.tcp.responseHeader" }}</a-divider>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.responseVersion" }}'>
<a-input v-model.trim="inbound.stream.tcp.response.version"></a-input>
</a-form-item>
Expand Down
2 changes: 1 addition & 1 deletion web/html/xui/xray.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="{{ .base_path }}assets/codemirror/lint/lint.css">

<script src="{{ .base_path }}assets/base64/base64.min.js"></script>
<script src="{{ .base_path }}assets/js/model/outbound.js"></script>
<script src="{{ .base_path }}assets/js/model/outbound.js?{{ .cur_ver }}"></script>
<script src="{{ .base_path }}assets/codemirror/codemirror.js"></script>
<script src="{{ .base_path }}assets/codemirror/javascript.js"></script>
<script src="{{ .base_path }}assets/codemirror/jshint.js"></script>
Expand Down

0 comments on commit 025545f

Please sign in to comment.