mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
feat: add prometheus metrics without external standalone exporter
This commit is contained in:
@@ -102,3 +102,7 @@ func typeName(t uint8) string {
|
||||
}
|
||||
return "unknown"
|
||||
}
|
||||
|
||||
func defaultErrorRedirectTarget() string {
|
||||
return fmt.Sprintf("%s/?error=unauthorized", config.Get().Server.BasePath)
|
||||
}
|
||||
|
Reference in New Issue
Block a user