update: add new env variable for setting cors list
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m49s

This commit is contained in:
2025-09-11 13:02:16 +07:00
parent 9e794bf53f
commit 41f9835365
2 changed files with 26 additions and 12 deletions

View File

@ -59,11 +59,6 @@ func HandlerTLS(conn net.Conn) {
return
}
if len(host) < 1 {
conn.Write([]byte("HTTP/1.1 400 Bad Request\r\n\r\n"))
conn.Close()
return
}
slug := host[0]
if slug == "ping" {