feat: add s3 blob handler(by readll all :( )
This commit is contained in:
@ -5,6 +5,7 @@ import (
|
||||
"github.com/loveuer/nf"
|
||||
"nf-repo/internal/handler"
|
||||
"nf-repo/internal/interfaces"
|
||||
"nf-repo/internal/middleware/front"
|
||||
"nf-repo/internal/opt"
|
||||
)
|
||||
|
||||
@ -29,5 +30,7 @@ func NewApi(
|
||||
api.Post("/proxy", handler.ProxyDownloadImage(mh, bh))
|
||||
}
|
||||
|
||||
app.Use(front.NewFront(&front.DefaultFront, "dist/front/browser"))
|
||||
|
||||
return app
|
||||
}
|
||||
|
Reference in New Issue
Block a user