better url

This commit is contained in:
henne 2025-08-10 20:29:03 +01:00
parent 120ddb5c01
commit 5b9521c7e6
No known key found for this signature in database

View file

@ -2,6 +2,7 @@ package webserver
import (
"fmt"
"log"
"math/rand"
"net/http"
@ -33,5 +34,5 @@ func HandleTest(ctx *gin.Context) {
}
printer.PrintTicket(speedingTicket)
ctx.Redirect(http.StatusTemporaryRedirect, "/")
go upload.UploadTicket(speedingTicket)
log.Printf("%v", upload.UploadTicket(speedingTicket))
}