Skip to content

Commit

Permalink
Remove my test URL from project
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Wolfe committed Feb 13, 2013
1 parent 4c4d8f6 commit fbd3eba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function switch_flipped(who) {
if (endsWith(who,'on')){
console.log("turn on");

$.ajax({ url: 'http://home.gajo.us:8484/action.php',
$.ajax({ url: 'http://'+window.location.host+'/action.php',
data: {cmd: 'set', switch:base_switch, pos: 'on'},
type: 'post',
success: function(output) {
Expand All @@ -33,7 +33,7 @@ function switch_flipped(who) {
});
}
if (endsWith(who,'off')){
$.ajax({ url: 'http://home.gajo.us:8484/action.php',
$.ajax({ url: 'http://'+window.location.host+'/action.php',
data: {cmd: 'set', switch:base_switch, pos: 'off'},
type: 'post',
success: function(output) {
Expand All @@ -59,7 +59,7 @@ function change(picName,imgName)

window.onload=function(){
//Shopw status of lights when we first start page
$.ajax({ url: 'http://home.gajo.us:8484/action.php',
$.ajax({ url: 'http://'+window.location.host+'/action.php',
data: {cmd: 'list'},
type: 'post',
success: function(output) {
Expand Down

0 comments on commit fbd3eba

Please sign in to comment.