mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-22 20:31:19 -05:00
add v1 to api route
This commit is contained in:
parent
651dc8a18f
commit
d9e27aa0a6
@ -53,7 +53,7 @@ func StartServer() error {
|
||||
}
|
||||
|
||||
// API zone
|
||||
management := r.Party("/api/", apiKeyAuth(apiKey))
|
||||
management := r.Party("/api/v1", apiKeyAuth(apiKey))
|
||||
management.Use(apiKeyAuth(apiKey))
|
||||
{
|
||||
management.Post("attribute", handlers.ApiAttributePost)
|
||||
|
Loading…
Reference in New Issue
Block a user