working-deployment-on-kind-cluster #1

Merged
Franz.Germann merged 4 commits from working-deployment-on-kind-cluster into development 2025-03-20 17:52:12 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit b3258aa5b6 - Show all commits

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{