mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
10 lines
392 B
JavaScript
10 lines
392 B
JavaScript
// 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'));
|