Skip to content

Commit 3e4136b

Browse files
committed
change devtools/test_dashboard/server.js to use full url (include index.html) to prevent ERR_TOO_MANY_REDIRECTS error under Windows when running the 'npm start' script.
open('http://localhost:' + PORT + '/devtools/test_dashboard/index.html');
1 parent 832590b commit 3e4136b

File tree

2 files changed

+168
-36
lines changed

2 files changed

+168
-36
lines changed

devtools/test_dashboard/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var server = http.createServer(ecstatic({
2323
// Make watchified bundle for plotly.js
2424
var bundlePlotly = makeWatchifiedBundle(function() {
2525
// open up browser window on first bundle callback
26-
open('http://localhost:' + PORT + '/devtools/test_dashboard');
26+
open('http://localhost:' + PORT + '/devtools/test_dashboard/index.html');
2727
});
2828

2929
// Bundle devtools code

package-lock.json

Lines changed: 167 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)