Skip to content

Commit 33067fb

Browse files
authored
Merge pull request #3119 from plotly/devtools-cors-support
add cors support for devtools http server
2 parents 655d7bf + 7f95ea5 commit 33067fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

devtools/test_dashboard/server.js

Lines changed: 2 additions & 1 deletion
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)