fix: remove log

This commit is contained in:
httpjamesm 2023-08-21 00:56:53 -04:00
parent 7fa26139bc
commit 1d8feea290
No known key found for this signature in database

View file

@ -2,7 +2,6 @@ package routes
import (
"fmt"
"log"
"net/http"
"os"
@ -30,8 +29,6 @@ func RedirectShortenedOverflowURL(c *gin.Context) {
return
}
log.Println(resp.String())
if resp.StatusCode() != 302 {
c.HTML(400, "home.html", gin.H{
"errorMessage": fmt.Sprintf("Unexpected HTTP status from origin: %d", resp.StatusCode()),