Need a better solution to this.

refactor-builder
Eric Holscher 2013-11-10 16:27:03 -08:00
parent 96cc2b52da
commit c04217a5c4
1 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@ $(document).ready(function () {
// Theme popout code
$.ajax({
//url: "https://readthedocs.org/api/v2/footer_html/",
url: "http://localhost:8000/api/v2/footer_html/",
url: "https://readthedocs.org/api/v2/footer_html/",
//url: "http://localhost:8000/api/v2/footer_html/",
crossDomain: true,
xhrFields: {
withCredentials: true,
@ -116,8 +116,8 @@ $(document).ready(function () {
// Search results
$.ajax({
//url: "https://readthedocs.org/api/v2/search/",
url: "http://localhost:8000/api/v2/search/section/",
url: "https://readthedocs.org/api/v2/search/section/",
//url: "http://localhost:8000/api/v2/search/section/",
crossDomain: true,
xhrFields: {
withCredentials: true,