Skip to content

Commit 613c712

Browse files
authored
Proxy support (#230)
* Support changing the baseURL for ProxySupport * Support the about page * Made ajax work * Update mathics_django/settings.py * Black Magic stuff * Fix Documentation not working with an additional URL param
1 parent 530b794 commit 613c712

File tree

1 file changed

+2
-2
lines changed
  • mathics_django/web/media/js

1 file changed

+2
-2
lines changed

mathics_django/web/media/js/doc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function showPage(response) {
4343
}
4444

4545
function loadDoc(page) {
46-
new Ajax.Request('/ajax/doc' + page, {
46+
new Ajax.Request('ajax/doc' + page, {
4747
method: 'get',
4848
onSuccess: (transport) => {
4949
docLoaded = true;
@@ -110,7 +110,7 @@ function searchChange() {
110110

111111
if (!search.hasClassName('empty')) {
112112
if (query) {
113-
new Ajax.Request('/ajax/doc/search/', {
113+
new Ajax.Request('ajax/doc/search/', {
114114
method: 'get',
115115
parameters: { query },
116116
onSuccess: (transport) => {

0 commit comments

Comments
 (0)