mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-09-04 21:10:23 -04:00
add v1 to api route
This commit is contained in:
parent
651dc8a18f
commit
d9e27aa0a6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue