handle queries

This commit is contained in:
Gianni Carafa
2023-11-02 22:50:03 +01:00
parent 62e03a384a
commit 63dcaeba3c
4 changed files with 25 additions and 15 deletions

View File

@@ -10,7 +10,8 @@ func Raw(c *fiber.Ctx) error {
// Get the url from the URL
urlQuery := c.Params("*")
body, _, _, err := fetchSite(urlQuery)
queries := c.Queries()
body, _, _, err := fetchSite(urlQuery, queries)
if err != nil {
log.Println("ERROR:", err)
c.SendStatus(500)