mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-05 21:19:08 +02:00
[misc] Add upload URL signing and rate limiting (#7502)
This commit is contained in:
@@ -90,7 +90,7 @@ func Test_S3HandlerGetUploadURL(t *testing.T) {
|
||||
t.Setenv(bucketVar, bucketName)
|
||||
|
||||
mux := http.NewServeMux()
|
||||
err = configureS3Handlers(mux)
|
||||
err = configureS3Handlers(mux, newTestRateLimiter(t))
|
||||
require.NoError(t, err)
|
||||
|
||||
req := httptest.NewRequest(http.MethodGet, types.GetURLPath+"?id=test-file", nil)
|
||||
|
||||
Reference in New Issue
Block a user