Merge remote-tracking branch 'origin/main'

# Conflicts:
#	internal/httpapi/dist/assets/index-CL42Ur3_.css
#	internal/httpapi/dist/assets/index-CbqC9m-j.js
#	internal/httpapi/dist/assets/index-RFHYrCiX.css
#	internal/httpapi/dist/assets/index-jvouiCgh.css
#	internal/httpapi/dist/index.html
#	internal/store/store.go
#	web/src/api.ts
#	web/src/views/ClusterView.vue
This commit is contained in:
JianFeeeee
2026-08-24 23:30:19 +08:00
28 changed files with 1143 additions and 1084 deletions

View File

@ -246,12 +246,13 @@ func main() {
})
h := &httpapi.Handler{
Store: st,
Process: pm,
WorkDir: wd,
BinDir: filepath.Join(wd, "bin"),
Cluster: reg,
Ring: ring,
Store: st,
Process: pm,
WorkDir: wd,
BinDir: filepath.Join(wd, "bin"),
Sessions: httpapi.NewSessionStore(),
Cluster: reg,
Ring: ring,
// SelfAddr must be reachable by peers. 0.0.0.0/empty on a real host
// would break peer reconnect, so fall back to the hostname (container
// name inside docker is a routable addr on the compose network).