fixes host and path in deployment.yaml
Some checks failed
ci / build (push) Failing after 7s

This commit is contained in:
franz.germann 2025-03-20 17:38:55 +01:00
parent f199d2ebe8
commit b3258aa5b6
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ metadata:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
rules:
- host: {{{ .Env.DOMAIN }}}
- host: 192-168-197-2.traefik.me
http:
paths:
- path: /ascii-live
@ -57,4 +57,4 @@ spec:
tls:
- secretName: ascii-live-tls-prod-cert
hosts:
- {{{ .Env.DOMAIN }}}
- 192-168-197-2.traefik.me

View file

@ -110,8 +110,8 @@ func main() {
flag.Set("logtostderr", "true")
r := mux.NewRouter()
r.HandleFunc("/list", listHandler).Methods("GET")
r.HandleFunc("/{frameSource}", handler).Methods("GET")
r.HandleFunc("/ascii-live/list", listHandler).Methods("GET")
r.HandleFunc("/ascii-live/{frameSource}", handler).Methods("GET")
r.NotFoundHandler = http.HandlerFunc(notFoundHandler)
srv := &http.Server{