Need a better solution to this.
parent
96cc2b52da
commit
c04217a5c4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue