feat: expose backend debug log endpoints
This commit is contained in:
@@ -71,6 +71,9 @@ func SetupRouter() *gin.Engine {
|
||||
if conf.IsDebugMode() {
|
||||
debug := api.Group("/debug")
|
||||
{
|
||||
debug.GET("/logs", handler.DebugLogs)
|
||||
debug.GET("/logs/download", handler.DebugLogsDownload)
|
||||
debug.GET("/logs/ws", handler.DebugLogWS)
|
||||
debug.GET("/ws/logs", handler.DebugLogWS)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user