mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-04-22 23:09:15 +00:00
fix: remove log
This commit is contained in:
parent
7fa26139bc
commit
1d8feea290
1 changed files with 0 additions and 3 deletions
|
@ -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()),
|
||||
|
|
Loading…
Add table
Reference in a new issue