Hiya,
The server environment I'm deploying to has security restrictions on running Chromium, so in order for react-snap to run correctly I'll need to add the --no-sandbox flag to Chromium when it runs. How would I go a bout doing that? Cheers.
need to expose this as option
const browser = await puppeteer.launch({
headless: options.headless,
+ args: ['--no-sandbox']
});
related https://github.com/Googlechrome/puppeteer/issues/290
Great, thanks again for the quick response.
There is also https://github.com/peterbe/minimalcss/issues/35, in case you are using inlineCSS
There is a PR for this merged, but haven't released package yet
v0.10.0
Thanks for the quick turnaround. React-snap is amazing and I love seeing SSR in my automated docker builds.
Excellent turn-around time. Much appreciated!
Most helpful comment
need to expose this as option
related https://github.com/Googlechrome/puppeteer/issues/290