Fixed bug with inhering commonHandler for nb

pull/800/head
kompotkot 2023-06-05 12:42:38 +00:00
rodzic 7663e67b77
commit a5482d5885
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -226,7 +226,7 @@ func Server() {
// Set common middlewares, from bottom to top
commonHandler := corsMiddleware(serveMux)
commonHandler = logMiddleware(serveMux)
commonHandler = logMiddleware(commonHandler)
commonHandler = panicMiddleware(commonHandler)
server := http.Server{