Skip to content

Commit 75b5a98

Browse files
Add new option to prevent CORS failures
1 parent dc76687 commit 75b5a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rustdoc-gui/tester.js

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

0 commit comments

Comments
 (0)