Skip to content

Commit

Permalink
feat: aligned and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sujit-baniya committed Apr 7, 2024
1 parent 24636b9 commit 1d36bbe
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions middlewares/server/monitor/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ var ConfigDefault = Config{
APIOnly: false,
Next: nil,
index: newIndex(viewBag{
defaultTitle,
defaultRefresh,
defaultFontURL,
defaultChartJSURL,
defaultCustomHead,
title: defaultTitle,
refresh: defaultRefresh,
fontURL: defaultFontURL,
chartJSURL: defaultChartJSURL,
customHead: defaultCustomHead,
}),
}

Expand All @@ -76,11 +76,11 @@ func configDefault(config ...Config) Config {
}
// update default index with new default title/refresh
ConfigDefault.index = newIndex(viewBag{
ConfigDefault.Title,
ConfigDefault.Refresh,
ConfigDefault.FontURL,
ConfigDefault.ChartJsURL,
ConfigDefault.CustomHead,
title: ConfigDefault.Title,
chartJSURL: ConfigDefault.FontURL,
fontURL: ConfigDefault.ChartJsURL,
customHead: ConfigDefault.CustomHead,
refresh: ConfigDefault.Refresh,
})
}

Expand Down

0 comments on commit 1d36bbe

Please sign in to comment.