You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`access-control: gate: origin is null, using referer=${origin} for playbackId=${playbackId}`
264
+
`access-control: gate: origin is null, using referer=${origin} for playbackId=${playbackId}`,
265
265
);
266
266
}
267
267
@@ -279,7 +279,7 @@ app.post(
279
279
access-control: gate: content with playbackId=${playbackId} is gated but origin=${origin} not in allowed origins=${allowedOrigins}, disallowing playback
280
280
`);
281
281
thrownewForbiddenError(
282
-
`Content is gated and origin not in allowed origins`
282
+
`Content is gated and origin not in allowed origins`,
283
283
);
284
284
}
285
285
}
@@ -296,7 +296,7 @@ app.post(
296
296
access-control: gate: no pub provided for playbackId=${playbackId}, disallowing playback
access-control: gate: content with playbackId=${playbackId} is gated but corresponding public key not found for key=${req.body.pub}, disallowing playback
316
316
`);
317
317
thrownewForbiddenError(
318
-
"Content is gated and corresponding public key not found"
318
+
"Content is gated and corresponding public key not found",
319
319
);
320
320
}
321
321
@@ -325,7 +325,7 @@ app.post(
325
325
access-control: gate: content contentId=${content.id} with playbackId=${playbackId} is gated but multiple (${signingKeyOutput.length}) public keys found for key=${req.body.pub}, disallowing playback, colliding keys=${collisionKeys}
326
326
`);
327
327
thrownewBadRequestError(
328
-
"Multiple signing keys found for the same public key."
328
+
"Multiple signing keys found for the same public key.",
access-control: gate: content with playbackId=${playbackId} is gated but corresponding webhook not found for webhookId=${content.playbackPolicy.webhookId}, disallowing playback
364
364
`);
365
365
thrownewInternalServerError(
366
-
"Content is gated and corresponding webhook not found"
366
+
"Content is gated and corresponding webhook not found",
367
367
);
368
368
}
369
369
@@ -379,22 +379,22 @@ app.post(
379
379
access-control: gate: content with playbackId=${playbackId} is gated but webhook=${webhook.id} failed, disallowing playback
380
380
`);
381
381
thrownewBadGatewayError(
382
-
"Content is gated and corresponding webhook failed"
382
+
"Content is gated and corresponding webhook failed",
383
383
);
384
384
}else{
385
385
console.log(`
386
386
access-control: gate: content with playbackId=${playbackId} is gated but webhook=${webhook.id} returned status code ${statusCode}, disallowing playback
387
387
`);
388
388
thrownewForbiddenError(
389
-
"Content is gated and corresponding webhook failed"
389
+
"Content is gated and corresponding webhook failed",
0 commit comments