refactor: remove auth from metadata endpoint
This commit is contained in:
parent
1a62ab2855
commit
677635aa08
|
@ -43,7 +43,7 @@ func getRoutes(h *s5.HttpHandler, portal interfaces.Portal) map[string]jape.Hand
|
||||||
|
|
||||||
// Download API
|
// Download API
|
||||||
"GET /s5/blob/:cid": s5.AuthMiddleware(h.DownloadBlob, portal),
|
"GET /s5/blob/:cid": s5.AuthMiddleware(h.DownloadBlob, portal),
|
||||||
"GET /s5/metadata/:cid": s5.AuthMiddleware(h.DownloadMetadata, portal),
|
"GET /s5/metadata/:cid": h.DownloadMetadata,
|
||||||
|
|
||||||
// Pins API
|
// Pins API
|
||||||
"POST /s5/pin/:cid": s5.AuthMiddleware(h.AccountPin, portal),
|
"POST /s5/pin/:cid": s5.AuthMiddleware(h.AccountPin, portal),
|
||||||
|
|
Loading…
Reference in New Issue