Skip to content

Commit

Permalink
Add new option to prevent CORS failures
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 9, 2022
1 parent dc76687 commit 75b5a98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/rustdoc-gui/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75b5a98

Please sign in to comment.