fix lack of middleware in /go handler, also add tracing to session sweeper
This commit is contained in:
@@ -76,7 +76,7 @@ func setupEcho() *echo.Echo {
|
||||
e.GET("/venice/imagedata/:id", ui.AmServeVeniceCompatibleImage)
|
||||
}
|
||||
e.GET("/static/*", ui.AmStaticFileHandler())
|
||||
e.GET("/go/:postlink", ui.AmWrap(JumpToShortcut))
|
||||
e.GET("/go/:postlink", ui.AmWrap(JumpToShortcut), uiset...)
|
||||
|
||||
e.GET("/", ui.AmWrap(TopPage), uiset...)
|
||||
e.GET("/about", ui.AmWrap(AboutPage), uiset...)
|
||||
|
||||
Reference in New Issue
Block a user