fix: redirect on panic even when we launch a playlist

(close #10)
This commit is contained in:
rick 2021-09-12 01:48:28 +02:00
parent d6616573e2
commit eecaba74b9
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -180,6 +180,7 @@ func formHandler (c *fiber.Ctx) error {
panic(e.Error())
}
Queue[token] = nil
c.Set("Location", "/feudecamp")
go getListPlaylist(id, token, tokentype)
return c.SendStatus(303)