add middleware for perflite requests and delete cors from user and auth

handlers
This commit is contained in:
2025-10-11 11:07:43 +05:00
parent 6850701b47
commit 2ccab0a17f
5 changed files with 33 additions and 25 deletions
@@ -9,6 +9,8 @@ import (
func CommonMiddleware() []func(http.Handler) http.Handler {
return []func(http.Handler) http.Handler{
CORS,
middleware.Logger,
ZapLogger,
middleware.Recoverer,
middleware.RequestID,