feat: add embedded web dashboard for remote server

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-02 14:36:41 +08:00
parent 8c43a96817
commit df433a9179
7 changed files with 531 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ func NewHandler(store *Store, token string) http.Handler {
}
})))
mux.Handle("/api/v1/meta", bearerAuth(token, http.HandlerFunc(handleMeta(store))))
mux.Handle("/", webHandler())
return mux
}