single-file-cli
single-file-cli copied to clipboard
Issue capturing Github urls with browserless
Issue
When the Browserless endpoint is provided as a browserServer option and a GitHub URL eg. https://github.com/pawanpaudel93, single-file does not capture the URL completely, and when opening the captured webpage the webpage seems to load without CSS.
But, It works perfectly when used without browserless though.
I have the same issue with CSS. and I find that all CSS cdn assets have CORS errors.
so after appending access-control-allow-origin: {originHost}
and access-control-allow-credentials: true
into the response header, the captured webpage can work completely.
@marsk6 how are you using the headers withsingle-file-cli
and the captured webpage is working completely ? Thanks.