MW placeholder

This commit is contained in:
nquidox 2026-03-02 17:31:15 +03:00
parent 82ea13a104
commit 0f6fd00604
2 changed files with 12 additions and 0 deletions

View file

@ -50,6 +50,8 @@ func NewRouter(deps Deps) *Router {
engine.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
engine.Use(authMW())
return &Router{
srv: &http.Server{
Addr: net.JoinHostPort(deps.Host, deps.Port),