enable CORS, fixes #11

This commit is contained in:
Lloyd Brookes
2014-06-17 10:27:13 +01:00
parent 4087cf6601
commit 6df3ebff14
2 changed files with 9 additions and 3 deletions

View File

@ -9,8 +9,7 @@
<script>
var $ = document.querySelector.bind(document);
var req = new XMLHttpRequest();
req.open("get", "../README.md", true);
// req.open("get", "http://localhost:8010/README.md", true);
req.open("get", "http://localhost:8000/README.md", true);
req.onload = function(){
$("#readme").textContent = this.responseText;
}