Merge remote-tracking branch 'upstream/master'
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m4s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m4s
This commit is contained in:
commit
ea0823a9ea
2 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,7 @@ export const verifyRequest = (
|
||||||
);
|
);
|
||||||
|
|
||||||
const encryptedData = new TextDecoder().decode(
|
const encryptedData = new TextDecoder().decode(
|
||||||
decipher.decrypt(decodeBase64(stringToCheck)),
|
decipher.decrypt(decodeBase64(stringToCheck.replace(/-/g, "+").replace(/_/g, "/"))),
|
||||||
);
|
);
|
||||||
const [parsedTimestamp, parsedVideoId] = encryptedData.split("|");
|
const [parsedTimestamp, parsedVideoId] = encryptedData.split("|");
|
||||||
const parsedTimestampInt = parseInt(parsedTimestamp);
|
const parsedTimestampInt = parseInt(parsedTimestamp);
|
||||||
|
|
|
@ -42,8 +42,7 @@ export const poTokenGenerate = async (
|
||||||
});
|
});
|
||||||
|
|
||||||
const bgConfig: BgConfig = {
|
const bgConfig: BgConfig = {
|
||||||
fetch: (input: string | URL | globalThis.Request, init?: RequestInit) =>
|
fetch: getFetchClient(konfigStore),
|
||||||
fetch(input, init),
|
|
||||||
globalObj: globalThis,
|
globalObj: globalThis,
|
||||||
identifier: visitorData,
|
identifier: visitorData,
|
||||||
requestKey,
|
requestKey,
|
||||||
|
|
Loading…
Reference in a new issue