update: add new env variable for setting cors list
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m49s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m49s
This commit is contained in:
@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user