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 b735d12 commit a9a57cc0deb436154725308b9930336b9ae2566f
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/main.js
@@ -1046,8 +1046,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();

0 comments on commit a9a57cc

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