diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 198ba093..ff22bfe5 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -331,7 +331,7 @@
await this.getXraySetting();
}
},
- async restartPanel() {
+ async restartXray() {
this.loading(true);
const msg = await HttpUtil.post("server/restartXrayService");
this.loading(false);