Integration Fixes for Web Based Controllers #12

Merged
merged 2 commits into from Aug 9, 2016
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Split
Viewing a subset of changes. View all
Prev

Change url in load example to relative url

  • Loading branch information...
commit ebac667d3f85f517e4e572691a5bf3f3b5a548a5 @wilbur-shi wilbur-shi committed with jmkao Aug 4, 2016
View
@@ -1064,8 +1064,8 @@ var stl = 'stl/StressTest.stl';
//var stl = 'stl/SLAcer.stl';
// File url
-var url = 'http://' + window.location.hostname + window.location.pathname + stl;
-
+// var url = 'http://' + window.location.hostname + window.location.pathname + stl;
+var url = window.location.href + stl;
// Create http request object
var xmlhttp = new XMLHttpRequest();