better url
This commit is contained in:
parent
120ddb5c01
commit
5b9521c7e6
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue