Skip to content

Commit

Permalink
chore(core): 更新面板 URL
Browse files Browse the repository at this point in the history
  • Loading branch information
junlongzzz committed Nov 26, 2024
1 parent ee2a41b commit 3065f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ func loadCoreConfig() error {
host = "127.0.0.1"
}
// 本地面板地址
coreConfig.ExternalUiAddr = fmt.Sprintf("http://%s%s/#/setup?hostname=%s&port=%s&secret=%s",
coreConfig.ExternalUiAddr = fmt.Sprintf("http://%s%s/?hostname=%s&port=%s&secret=%s",
net.JoinHostPort(host, port), uiUrlPath, host, port, coreConfig.Secret)
// 官方面板地址
coreConfig.OfficialUiAddr = fmt.Sprintf("https://metacubex.github.io/metacubexd/#/setup?http=true&hostname=%s&port=%s&secret=%s",
coreConfig.OfficialUiAddr = fmt.Sprintf("https://metacubex.github.io/metacubexd/?http=true&hostname=%s&port=%s&secret=%s",
host, port, coreConfig.Secret)
// Yet Another Clash Dashboard
coreConfig.YACDUiAddr = fmt.Sprintf("https://yacd.metacubex.one/?hostname=%s&port=%s&secret=%s",
Expand Down

0 comments on commit 3065f8a

Please sign in to comment.