Skip to content

Commit 7f95ea5

Browse files
committed
add cors support for devtools http server
1 parent 655d7bf commit 7f95ea5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

devtools/test_dashboard/server.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ var PORT = process.argv[2] || 3000;
1616
var server = http.createServer(ecstatic({
1717
root: constants.pathToRoot,
1818
cache: 0,
19-
gzip: true
19+
gzip: true,
20+
cors: true
2021
}));
2122

2223
// Make watchified bundle for plotly.js

0 commit comments

Comments
 (0)