Skip to content
Permalink
Browse files

Change url in load example to relative url

  • Loading branch information...
wilbur-shi committed Aug 4, 2016
1 parent 9b7ef81 commit a9bba43b13df6a5cbe0e6dc6770f0dee06964d5a
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/main.js
@@ -1045,7 +1045,7 @@ loader.onError = errorHandler;
var stl = 'stl/StressTest.stl';
//var stl = 'stl/SLAcer.stl';

// File url
// File url
// var url = 'http://' + window.location.hostname + window.location.pathname + stl;
var url = window.location.href + stl;

0 comments on commit a9bba43

Please sign in to comment.
You can’t perform that action at this time.