Merge remote-tracking branch 'upstream/master'
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m4s

This commit is contained in:
Fijxu 2024-12-15 22:48:26 -03:00
commit ea0823a9ea
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4
2 changed files with 2 additions and 3 deletions

View file

@ -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);

View file

@ -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,