mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-02 11:39:06 +02:00
Add rate limit for upload url requests
This commit is contained in:
@@ -25,7 +25,7 @@ func newLocalMux(t *testing.T) (*http.ServeMux, string) {
|
||||
t.Setenv(signingKeyVar, testSigningKey)
|
||||
|
||||
mux := http.NewServeMux()
|
||||
require.NoError(t, configureLocalHandlers(mux))
|
||||
require.NoError(t, configureLocalHandlers(mux, newRateLimiter()))
|
||||
|
||||
return mux, mockDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user