mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-02-02 09:15:32 -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
|
// API zone
|
||||||
management := r.Party("/api/", apiKeyAuth(apiKey))
|
management := r.Party("/api/v1", apiKeyAuth(apiKey))
|
||||||
management.Use(apiKeyAuth(apiKey))
|
management.Use(apiKeyAuth(apiKey))
|
||||||
{
|
{
|
||||||
management.Post("attribute", handlers.ApiAttributePost)
|
management.Post("attribute", handlers.ApiAttributePost)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user