ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix benchmark script
Chocobozzz4e5e072c1b2f
diff --git a/scripts/benchmark.ts b/scripts/benchmark.tsindex 91e8b865af..37c7401318 100644--- a/scripts/benchmark.ts+++ b/scripts/benchmark.ts@@ -201,12 +201,12 @@ function runBenchmark (options: {headers?: { [ id: string ]: string }expecter: Function}) {- const { method, path, body, expecter, headers } = options+ const { method = 'GET', path, body, expecter, headers } = optionsreturn new Promise((res, rej) => {autocannon({url: server.url + path,- method,+ method: method,body,connections: 20,headers,