Get rid of debugging prints.

This commit is contained in:
Solderpunk 2020-06-06 13:35:47 +02:00
parent 2c99228610
commit 548697b094
1 changed files with 0 additions and 2 deletions

View File

@ -74,10 +74,8 @@ func handleGeminiRequest(conn net.Conn, config Config, logEntries chan LogEntry)
// Check whether this URL is mapped to an SCGI app
for scgi_url, scgi_socket := range config.SCGIPaths {
fmt.Println(scgi_url, URL.Path)
matched, err := regexp.Match(scgi_url, []byte(URL.Path))
if matched && err == nil {
fmt.Println("Matched:", scgi_url, scgi_socket)
handleSCGI(scgi_socket, config, URL, &log, conn)
return
}