mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-18 17:34:40 -04:00
Add new option to prevent CORS failures
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user