We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eab27c commit d4d7e87Copy full SHA for d4d7e87
server.js
@@ -6,7 +6,8 @@ var redisCache = require('./lib/redisCache');
6
var viewPort = require('./lib/viewPort');
7
8
var server = prerender({
9
- chromeFlags: ['--no-sandbox', '--headless', '--disable-gpu', '--remote-debugging-port=9222', '--hide-scrollbars']
+ chromeFlags: ['--no-sandbox', '--headless', '--disable-gpu', '--remote-debugging-port=9222', '--hide-scrollbars'],
10
+ pageLoadTimeout: process.env.PAGE_LOAD_TIMEOUT || 20 * 1000
11
});
12
13
server.use(prerender.sendPrerenderHeader());
0 commit comments