diff options
| author | root <root@lalalizard.com> | 2012-12-13 13:19:43 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-13 13:19:43 -0500 |
| commit | b19a4f25863ce6600aaa560518f9e28b3a4ce3f5 (patch) | |
| tree | 13f422141c2dfe8be0d8da92b0068e4a68b8737c /frontend/static/js | |
| parent | 0ad00a808c07b1b0a0dd02b9393933df35281401 (diff) | |
Fix js slash issue
Diffstat (limited to 'frontend/static/js')
| -rw-r--r-- | frontend/static/js/api.js | 2 | ||||
| -rw-r--r-- | frontend/static/js/register.js | 4 | ||||
| -rw-r--r-- | frontend/static/js/sj6.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/frontend/static/js/api.js b/frontend/static/js/api.js index e881f8c..86f4958 100644 --- a/frontend/static/js/api.js +++ b/frontend/static/js/api.js @@ -60,7 +60,7 @@ var API = { for (name in API.URL[type]) { - API.URL[type][name] = API.BASE_URL + API.URL[type][name] + API.URL[type][name] = API.BASE_URL + API.URL[type][name] + "/" } } // $.ajaxSetup({ timeout: 1000 }) diff --git a/frontend/static/js/register.js b/frontend/static/js/register.js index 5098dd7..1818962 100644 --- a/frontend/static/js/register.js +++ b/frontend/static/js/register.js @@ -22,7 +22,7 @@ var API = HEADER: "#@scanjam 0.2", LIKE_STRING: "like", HAS_LOCAL_STORAGE: supports_html5_storage(), - BASE_URL: "http://scannerjammer.fm:19898", + BASE_URL: "http://scannerjammer.fm", URL: { auth: @@ -61,7 +61,7 @@ var API = { for (name in API.URL[type]) { - API.URL[type][name] = API.BASE_URL + API.URL[type][name] + API.URL[type][name] = API.BASE_URL + API.URL[type][name] + "/" } } }, diff --git a/frontend/static/js/sj6.js b/frontend/static/js/sj6.js index 878279f..cc60852 100644 --- a/frontend/static/js/sj6.js +++ b/frontend/static/js/sj6.js @@ -3275,7 +3275,7 @@ var API = { for (name in API.URL[type]) { - API.URL[type][name] = API.BASE_URL + API.URL[type][name] + API.URL[type][name] = API.BASE_URL + API.URL[type][name] + "/" } } // $.ajaxSetup({ timeout: 1000 }) |
