Skip to content

Commit

Permalink
fix: typo in cors_domains variable name (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnguyen081002 committed Jun 1, 2024
1 parent 3cfb6b2 commit fcc8626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (s *RestServer) StartHttpServer(container *restful.Container) {
log.Logger().Info("start http server",
zap.String("url", fmt.Sprintf("http://%s:%d", s.HttpHost, s.HttpPort)),
zap.Strings("cors_methods", s.Config.Master.HttpCorsMethods),
zap.Strings("cors_doamins", s.Config.Master.HttpCorsDomains),
zap.Strings("cors_domains", s.Config.Master.HttpCorsDomains),
)
s.HttpServer = &http.Server{
Addr: fmt.Sprintf("%s:%d", s.HttpHost, s.HttpPort),
Expand Down

0 comments on commit fcc8626

Please sign in to comment.