mirror of
https://github.com/trafficlunar/api.git
synced 2026-06-27 22:24:08 +00:00
refactor: rename /visitor-counter to /visit-counter
This commit is contained in:
parent
521a634d2e
commit
b62f4cd017
4 changed files with 12 additions and 12 deletions
|
|
@ -32,8 +32,8 @@ func NewRouter() {
|
|||
http.Redirect(w, r, "https://axolotlmaid.com", http.StatusPermanentRedirect)
|
||||
})
|
||||
|
||||
r.Get("/visitor-counter", handler.HandleGetVisitorCounter)
|
||||
r.With(httprate.LimitByRealIP(1, time.Hour)).Patch("/visitor-counter", handler.HandlePatchVisitorCounter)
|
||||
r.Get("/visit-counter", handler.HandleGetVisitCounter)
|
||||
r.With(httprate.LimitByRealIP(1, time.Hour)).Patch("/visit-counter", handler.HandlePatchVisitCounter)
|
||||
|
||||
r.Get("/currently-playing", handler.HandleGetCurrentlyPlaying)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue