mirror of
https://github.com/davidallendj/configurator.git
synced 2025-12-20 03:27:02 -07:00
config: updated to use only host and not port var
This commit is contained in:
parent
0fc81ac67c
commit
1848819244
2 changed files with 4 additions and 10 deletions
|
|
@ -58,9 +58,7 @@ func New(conf *config.Config) *Server {
|
|||
// return based on config values
|
||||
return &Server{
|
||||
Config: conf,
|
||||
Server: &http.Server{
|
||||
Addr: fmt.Sprintf("%s:%d", conf.Server.Host, conf.Server.Port),
|
||||
},
|
||||
Server: &http.Server{Addr: fmt.Sprintf("%s", conf.Server.Host)},
|
||||
Jwks: Jwks{
|
||||
Uri: conf.Server.Jwks.Uri,
|
||||
Retries: conf.Server.Jwks.Retries,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue