Update id_converter.go

This commit is contained in:
mycodedoesnotcompile2 authored and GitHub committed 2025-12-13 12:42:34 +00:00
1 parent 8b00007fb5
commit 9a6d287607
1 file changed
-3
-3
View File
@@ -6,7 +6,6 @@ import (
"strings" "strings"
"github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2"
//log "github.com/sirupsen/logrus"
) )
var r = regexp.MustCompile(`[\/\-]([0-9a-f]+)\/?$`) var r = regexp.MustCompile(`[\/\-]([0-9a-f]+)\/?$`)
@@ -35,8 +34,6 @@ func idFromPath(path string) string {
func idFromParams(c *fiber.Ctx) string { func idFromParams(c *fiber.Ctx) string {
ru := c.Query("redirectUrl", "") ru := c.Query("redirectUrl", "")
//log.Printf("REQ: %s", string(c.Request().String()))
//log.Printf("RESP: %s", string(c.Response().String()))
if ru != "" { if ru != "" {
pu, err := url.Parse(ru) pu, err := url.Parse(ru)
if err != nil { if err != nil {