kopia lustrzana https://github.com/bugout-dev/moonstream
Fixed bug with inhering commonHandler for nb
rodzic
7663e67b77
commit
a5482d5885
|
@ -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{
|
||||
|
|
Ładowanie…
Reference in New Issue