temp: rewrite headless config
This commit is contained in:
@@ -158,13 +158,7 @@ router.put('/runs/:id', requireSignIn, async (req: AuthenticatedRequest, res) =>
|
||||
|
||||
console.log(`Proxy config for run: ${JSON.stringify(proxyOptions)}`)
|
||||
|
||||
const id = createRemoteBrowserForRun({
|
||||
browser: chromium,
|
||||
launchOptions: {
|
||||
headless: true,
|
||||
proxy: proxyOptions.server ? proxyOptions : undefined,
|
||||
}
|
||||
}, req.user.id);
|
||||
const id = createRemoteBrowserForRun(req.user.id);
|
||||
|
||||
const runId = uuid();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user