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

@@ -137,7 +137,7 @@ func (a *App) cacheMiddleware(next http.Handler) http.Handler {
}
// Skip caching for authenticated endpoints that may have user-specific data
if !a.isPublicEndpoint(r.URL.Path) {
if !a.isPublicEndpoint(r.URL.Path, r.Method) {
// Check if user is authenticated - if so, skip caching
// In production, you might want per-user caching by including user ID in cache key
if _, ok := getUserFromContext(r); ok {