feat: add compatible Trojan manager image
This commit is contained in:
@@ -36,8 +36,8 @@ func UserList(requestUser string) *ResponseBody {
|
||||
}
|
||||
domain, port := trojan.GetDomainAndPort()
|
||||
responseBody.Data = map[string]interface{}{
|
||||
"domain": domain,
|
||||
"port": port,
|
||||
"domain": domain, "port": port, "publicPort": port,
|
||||
"listenPort": core.GetConfig().LocalPort,
|
||||
"userList": userList,
|
||||
}
|
||||
return &responseBody
|
||||
@@ -55,8 +55,8 @@ func PageUserList(curPage int, pageSize int) *ResponseBody {
|
||||
}
|
||||
domain, port := trojan.GetDomainAndPort()
|
||||
responseBody.Data = map[string]interface{}{
|
||||
"domain": domain,
|
||||
"port": port,
|
||||
"domain": domain, "port": port, "publicPort": port,
|
||||
"listenPort": core.GetConfig().LocalPort,
|
||||
"pageData": pageData,
|
||||
}
|
||||
return &responseBody
|
||||
|
||||
Reference in New Issue
Block a user