PWA - patched deps
This commit is contained in:
10
playwright-service/server.js
Normal file
10
playwright-service/server.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const { chromium } = require('playwright');
|
||||
(async () => {
|
||||
const server = await chromium.launchServer({
|
||||
port: 3000,
|
||||
headless: true,
|
||||
args: ['--disable-gpu', '--no-sandbox', '--disable-dev-shm-usage']
|
||||
});
|
||||
console.log('Browser Server running on port 3000...');
|
||||
await new Promise(() => {});
|
||||
})();
|
||||
Reference in New Issue
Block a user