Compare commits
No commits in common. "ea0823a9eaca46ce0b41db32da36e7772893537a" and "297a430503f85df373f46acad698d6bbcd5bb33f" have entirely different histories.
ea0823a9ea
...
297a430503
2 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,7 @@ export const verifyRequest = (
|
|||
);
|
||||
|
||||
const encryptedData = new TextDecoder().decode(
|
||||
decipher.decrypt(decodeBase64(stringToCheck.replace(/-/g, "+").replace(/_/g, "/"))),
|
||||
decipher.decrypt(decodeBase64(stringToCheck)),
|
||||
);
|
||||
const [parsedTimestamp, parsedVideoId] = encryptedData.split("|");
|
||||
const parsedTimestampInt = parseInt(parsedTimestamp);
|
||||
|
|
|
@ -42,7 +42,8 @@ export const poTokenGenerate = async (
|
|||
});
|
||||
|
||||
const bgConfig: BgConfig = {
|
||||
fetch: getFetchClient(konfigStore),
|
||||
fetch: (input: string | URL | globalThis.Request, init?: RequestInit) =>
|
||||
fetch(input, init),
|
||||
globalObj: globalThis,
|
||||
identifier: visitorData,
|
||||
requestKey,
|
||||
|
|
Loading…
Add table
Reference in a new issue