fix installer script
Some checks failed
CI / test-build (push) Has been cancelled

This commit is contained in:
2025-12-15 16:47:48 +07:00
parent b4ef76f0d0
commit 1c53988cbd
8 changed files with 22 additions and 15 deletions

View File

@@ -134,7 +134,7 @@ func (a *App) rateLimitMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
// Skip rate limiting for public endpoints
if a.isPublicEndpoint(r.URL.Path) {
if a.isPublicEndpoint(r.URL.Path, r.Method) {
next.ServeHTTP(w, r)
return
}