diff options
author | Mike Crute <mike@crute.us> | 2023-07-31 15:46:25 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-07-31 15:46:25 -0700 |
commit | d7d77fd1c9035ec6356abb57a5486f0a13029628 (patch) | |
tree | cc9528787aa42171fee791bb69148c346ae4b2d9 /cmd | |
parent | cfbb1efaea31c498433db43cb507f54545c724f5 (diff) | |
download | websocket_proxy-d7d77fd1c9035ec6356abb57a5486f0a13029628.tar.bz2 websocket_proxy-d7d77fd1c9035ec6356abb57a5486f0a13029628.tar.xz websocket_proxy-d7d77fd1c9035ec6356abb57a5486f0a13029628.zip |
Make docker build work
Diffstat (limited to 'cmd')
-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 | } |