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

This commit is contained in:
Nicolai Ort 2024-12-11 17:59:11 +01:00
parent 57a3777891
commit 2686bee1d1
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

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,
}))