The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/playwright.prepare.mjs

9 lines
392 B

// prepare.js
import { readFileSync, writeFileSync } from 'fs';
import path from 'path';
const modules = path.resolve(`node_modules`);
const destination = path.join(modules, 'playwright-core', 'lib', 'server', 'chromium', 'crNetworkManager.js');
const buffer = readFileSync(destination);
writeFileSync(destination, buffer.toString().replace('cacheDisabled: true', 'cacheDisabled: false'));