diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 8b13a25a..7a5f9cf0 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -98,7 +98,7 @@
:dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''">
[[ key ]]s
-
+
@@ -337,7 +337,9 @@
return;
}
this.setInbounds(msg.obj);
- this.refreshing = false;
+ setTimeout(() => {
+ this.refreshing = false;
+ }, 500);
},
async getDefaultSettings() {
const msg = await HttpUtil.post('/xui/setting/defaultSettings');
diff --git a/xray/inbound.go b/xray/inbound.go
index 461c2ee7..b3f07c7e 100644
--- a/xray/inbound.go
+++ b/xray/inbound.go
@@ -6,7 +6,7 @@ import (
)
type InboundConfig struct {
- Listen json_util.RawMessage `json:"listen"` // listen 不能为空字符串
+ Listen json_util.RawMessage `json:"listen"` // listen cannot be an empty string
Port int `json:"port"`
Protocol string `json:"protocol"`
Settings json_util.RawMessage `json:"settings"`