mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
bleh
This commit is contained in:
parent
47f7411124
commit
d69a1b3f70
1 changed files with 1 additions and 5 deletions
|
@ -185,11 +185,7 @@ async function reporterRuntime(token: string) {
|
||||||
try {
|
try {
|
||||||
const browser = await pup.launch({
|
const browser = await pup.launch({
|
||||||
headless: true,
|
headless: true,
|
||||||
executablePath: process.env.CHROMIUM_BIN,
|
executablePath: process.env.CHROMIUM_BIN
|
||||||
args: [
|
|
||||||
'--disable-dev-shm-usage',
|
|
||||||
'--shm-size=4gb'
|
|
||||||
]
|
|
||||||
});
|
});
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
await page.setUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36");
|
await page.setUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36");
|
||||||
|
|
Loading…
Reference in a new issue