mirror of
https://github.com/lwch/natpass
synced 2025-10-25 21:30:22 +08:00
实现总览页面
This commit is contained in:
@@ -108,7 +108,7 @@ func (a *app) run() {
|
||||
}
|
||||
|
||||
if a.cfg.DashboardEnabled {
|
||||
db := dashboard.New(_VERSION)
|
||||
db := dashboard.New(a.cfg, pl, mgr, _VERSION)
|
||||
runtime.Assert(db.ListenAndServe(a.cfg.DashboardListen, a.cfg.DashboardPort))
|
||||
} else {
|
||||
select {}
|
||||
|
||||
Reference in New Issue
Block a user