Add new option to prevent CORS failures

This commit is contained in:
Guillaume Gomez 2022-11-08 15:00:48 +01:00
parent dc766874aa
commit 75b5a98d3b

View File

@ -149,6 +149,7 @@ async function main(argv) {
// This is more convenient that setting fields one by one.
let args = [
"--variable", "DOC_PATH", opts["doc_folder"], "--enable-fail-on-js-error",
"--allow-file-access-from-files",
];
if (opts["debug"]) {
debug = true;