refactor(auth): Switch to query auth for full link support (to be fixed in future)

This commit is contained in:
2024-12-11 17:59:11 +01:00
parent 57a3777891
commit 2686bee1d1

View File

@@ -45,7 +45,7 @@ func main() {
v1 := app.Group("/v1")
v1.Use(keyauth.New(keyauth.Config{
KeyLookup: "header:Authorization",
KeyLookup: "query:key",
Validator: validateAPIKey,
}))