BaseURLBaseURLReturns base URL (protocol + host) as a string. c.BaseURL() string // GET https://example.com/page#chapter-1 app.Get("/", func(c *fiber.Ctx) { c.BaseURL() // https://example.com})