aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/benchmark.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/benchmark.ts')
-rw-r--r--scripts/benchmark.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index 37c740131..623c11e27 100644
--- a/scripts/benchmark.ts
+++ b/scripts/benchmark.ts
@@ -55,7 +55,7 @@ async function run () {
55 path: '/accounts/peertube', 55 path: '/accounts/peertube',
56 headers: buildAPHeader(), 56 headers: buildAPHeader(),
57 expecter: (body, status) => { 57 expecter: (body, status) => {
58 return status === 200 && body.startsWith('{"type":') 58 return status === 200 && body.startsWith('{"@context":')
59 } 59 }
60 }, 60 },
61 { 61 {
@@ -63,7 +63,7 @@ async function run () {
63 path: '/videos/watch/' + video.uuid, 63 path: '/videos/watch/' + video.uuid,
64 headers: buildAPHeader(), 64 headers: buildAPHeader(),
65 expecter: (body, status) => { 65 expecter: (body, status) => {
66 return status === 200 && body.startsWith('{"type":"Video"') 66 return status === 200 && body.startsWith('{"@context":')
67 } 67 }
68 }, 68 },
69 { 69 {