Skip to content

Instantly share code, notes, and snippets.

View jsanta's full-sized avatar

Jose Ignacio Santa Cruz G. jsanta

View GitHub Profile
diff --git a/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js b/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js
index 97352f1..5476520 100644
--- a/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js
+++ b/node_modules/strapi-plugin-rest-cache/server/services/cacheStore.js
@@ -134,8 +134,8 @@ function createCacheStoreService({ strapi }) {
}
return keys
- .filter((key) => keysPrefixRe.test(key))
- .map((key) => key.replace(keysPrefixRe, ''));
@jsanta
jsanta / @scullyio+scully-plugin-puppeteer+2.1.41.patch
Created November 25, 2022 14:39
Hot patch for Scully puppeteer plugin
diff --git a/node_modules/@scullyio/scully-plugin-puppeteer/src/lib/plugins-scully-plugin-puppeteer.js b/node_modules/@scullyio/scully-plugin-puppeteer/src/lib/plugins-scully-plugin-puppeteer.js
index a9beeba..57b0ba7 100644
--- a/node_modules/@scullyio/scully-plugin-puppeteer/src/lib/plugins-scully-plugin-puppeteer.js
+++ b/node_modules/@scullyio/scully-plugin-puppeteer/src/lib/plugins-scully-plugin-puppeteer.js
@@ -23,7 +23,7 @@ catch (e) {
// version = jsonc.parse(readFileSync(join(__dirname, '../../../package.json')).toString()).version || '0.0.0';
}
const puppeteerRender = (route) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
- const timeOutValueInSeconds = 25;
+ const timeOutValueInSeconds = scully_1.scullyConfig.renderTimeout ?? 25;
@jsanta
jsanta / WhatsApp_HD_Handbrake.json
Last active January 11, 2023 12:17
Handbrake video compression settings
{
"PresetList": [
{
"AlignAVStart": true,
"AudioCopyMask": [
"copy:mp3"
],
"AudioEncoderFallback": "mp3",
"AudioLanguageList": [],
"AudioList": [