mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Bugfixes (#11)
* Don't offer rollback for the first revision * Fix the rollback bug * Cosmetics * Errors shown as alerts
This commit is contained in:
@@ -43,13 +43,12 @@ func NewRouter(abortWeb ControlChan, data *DataLayer) *gin.Engine {
|
||||
}
|
||||
|
||||
api.Use(contextSetter(data))
|
||||
api.Use(noCache)
|
||||
api.Use(errorHandler)
|
||||
|
||||
configureStatic(api)
|
||||
configureRoutes(abortWeb, data, api)
|
||||
|
||||
api.Use(noCache)
|
||||
api.Use(errorHandler)
|
||||
|
||||
return api
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user