diff --git a/internal/server/server.go b/internal/server/server.go index 94be194..c8a08e7 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -28,7 +28,7 @@ const ( // PathProxyEvents defines the path for templier proxy websocket events endpoint. // This path is very unlikely to collide with any path used by the app server. - PathProxyEvents = "/_templiƩr/events" + PathProxyEvents = "/_templier/events" ReverseProxyRetries = 20 ReverseProxyInitialDelay = 100 * time.Millisecond diff --git a/main.go b/main.go index b8b64c5..885e7a3 100644 --- a/main.go +++ b/main.go @@ -241,7 +241,7 @@ func runTemplierServer( conf, ) var err error - if conf.TLS != nil { + if conf.TLS.Cert != "" && conf.TLS.Key != "" { err = http.ListenAndServeTLS(conf.TemplierHost, conf.TLS.Cert, conf.TLS.Key, srv) } else {