From 7caeb5b579980c12721606872a7e4691ea8f2302 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 3 Feb 2014 09:29:49 -0500 Subject: remove explicit references to asdf from shader apis --- bower.json | 2 +- js/api/get.js | 2 +- js/api/set.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index 32f4913..572d0d2 100644 --- a/bower.json +++ b/bower.json @@ -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, -- cgit v1.2.3-70-g09d2