Add new option to prevent CORS failures
This commit is contained in:
parent
dc766874aa
commit
75b5a98d3b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user