mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Fix rejected server-side rendered ads issue not rejecting
This commit is contained in:
parent
05fd6abe91
commit
59373cf346
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ export async function postBranding(req: Request, res: Response) {
|
||||||
|
|
||||||
if (videoDuration && thumbnail && await checkForWrongVideoDuration(videoID, videoDuration)) {
|
if (videoDuration && thumbnail && await checkForWrongVideoDuration(videoID, videoDuration)) {
|
||||||
res.status(403).send("YouTube is currently testing a new anti-adblock technique called server-side ad-injection. This causes skips and submissions to be offset by the duration of the ad. It seems that you are affected by this A/B test, so until a fix is developed, we cannot accept submissions from your device due to them potentially being inaccurate.");
|
res.status(403).send("YouTube is currently testing a new anti-adblock technique called server-side ad-injection. This causes skips and submissions to be offset by the duration of the ad. It seems that you are affected by this A/B test, so until a fix is developed, we cannot accept submissions from your device due to them potentially being inaccurate.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const lock = await acquireLock(`postBranding:${videoID}.${hashedUserID}`);
|
const lock = await acquireLock(`postBranding:${videoID}.${hashedUserID}`);
|
||||||
|
|
Loading…
Reference in a new issue