diff options
Diffstat (limited to 'cmd/web/server.go')
-rw-r--r-- | cmd/web/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web/server.go b/cmd/web/server.go index 62624e2..83f4fc8 100644 --- a/cmd/web/server.go +++ b/cmd/web/server.go | |||
@@ -148,7 +148,7 @@ func webMain(cfg app.Config, embeddedTemplates, embeddedClients fs.FS, appVersio | |||
148 | RPDisplayName: cfg.OauthRPName, | 148 | RPDisplayName: cfg.OauthRPName, |
149 | RPID: cfg.Hostnames[0], | 149 | RPID: cfg.Hostnames[0], |
150 | RPOrigins: []string{ | 150 | RPOrigins: []string{ |
151 | fmt.Sprintf("https://%s:8070", cfg.Hostnames[0]), // TODO: Expose port in echo server for use here | 151 | fmt.Sprintf("https://%s", cfg.Hostnames[0]), // TODO: Expose port in echo server for use here |
152 | }, | 152 | }, |
153 | }) | 153 | }) |
154 | if err != nil { | 154 | if err != nil { |
@@ -176,7 +176,7 @@ func webMain(cfg app.Config, embeddedTemplates, embeddedClients fs.FS, appVersio | |||
176 | Logger: s.Logger, | 176 | Logger: s.Logger, |
177 | AuthSessions: authSessionStore, | 177 | AuthSessions: authSessionStore, |
178 | OauthClients: oauthClientStore, | 178 | OauthClients: oauthClientStore, |
179 | Hostname: fmt.Sprintf("https://%s:8070", cfg.Hostnames[0]), // TODO | 179 | Hostname: fmt.Sprintf("https://%s", cfg.Hostnames[0]), // TODO |
180 | PollSeconds: cfg.OauthDevicePollSecs, | 180 | PollSeconds: cfg.OauthDevicePollSecs, |
181 | SessionExpiration: cfg.OauthSessionTimeout, | 181 | SessionExpiration: cfg.OauthSessionTimeout, |
182 | } | 182 | } |