fix img routing

This commit is contained in:
Umputun
2018-05-18 02:20:53 -05:00
parent 8c569d2771
commit 3e04384cd7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ func (s *Rest) routes() chi.Router {
ropen.Get("/config", s.configCtrl)
ropen.Post("/preview", s.previewCommentCtrl)
ropen.Mount("/rss", s.rssRoutes())
ropen.Mount("/proxy", s.ImageProxy.Routes())
ropen.Mount("/img", s.ImageProxy.Routes())
})
// protected routes, require auth