diff options
| author | jules <jules@okfoc.us> | 2014-02-03 09:29:49 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2014-02-03 09:29:49 -0500 |
| commit | 7caeb5b579980c12721606872a7e4691ea8f2302 (patch) | |
| tree | d4aa92bce75091a2aca263f68cede1fbca50725b | |
| parent | 305cfd8d68be2234deb8d7c19f7eee14d5e7aa20 (diff) | |
remove explicit references to asdf from shader apis
| -rw-r--r-- | bower.json | 2 | ||||
| -rw-r--r-- | js/api/get.js | 2 | ||||
| -rw-r--r-- | js/api/set.js | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ { "name": "dither", "version": "0.0.4", - "homepage": "http://asdf.us/dither/", + "homepage": "http://asdf.us/shader/", "authors": [ "julie" ], diff --git a/js/api/get.js b/js/api/get.js index 742d41f..5db0b6c 100644 --- a/js/api/get.js +++ b/js/api/get.js @@ -86,7 +86,7 @@ ShaderAPI.originals = function(cb){ // fetch - AJAX wrapper ShaderAPI.fetch = function(params, cb){ $.ajax({ - url: "http://asdf.us/cgi-bin/im/shader/view", + url: "/cgi-bin/im/shader/view", data: params, dataType: "jsonp", success: function(data){ diff --git a/js/api/set.js b/js/api/set.js index 3446134..19f3f26 100644 --- a/js/api/set.js +++ b/js/api/set.js @@ -14,7 +14,7 @@ function save_shader(){ status('saving..') console.log(params) - $.post("http://asdf.us/cgi-bin/im/shader/save", params, function(resp){ + $.post("/cgi-bin/im/shader/save", params, function(resp){ console.log(resp); data = JSON.parse(resp) if (data.ERROR){ @@ -51,7 +51,7 @@ function save_thumbnail(id, thumb, $shader){ form.append("id", id); form.append("qqfile", thumb); $.ajax({ - url: "http://asdf.us/cgi-bin/im/shader/thumbnail_upload", + url: "/cgi-bin/im/shader/thumbnail_upload", type: "POST", data: form, processData: false, |
