Made autodeploy pipeline
This commit is contained in:
@@ -128,6 +128,8 @@ func NewServer(cfg config.Config) *Server {
|
||||
authRouter := routers.NewAuthRouter(authService)
|
||||
authRouter.RegisterRouter(apiV1)
|
||||
|
||||
// подключаем статику Vue — должно быть последним
|
||||
registerStaticFiles(router)
|
||||
return &Server{
|
||||
httpServer: &http.Server{
|
||||
Addr: cfg.APIHost + ":" + cfg.APIPort,
|
||||
|
||||
Reference in New Issue
Block a user