Fix server-poll.js to poll correct server. Still needs to not be hardcoded.

This commit is contained in:
Trever Fischer
2012-04-02 14:33:48 -04:00
parent 639fdc1d12
commit 1edef53f65

View File

@@ -1,5 +1,5 @@
function updateServer() {
$.get("/api/server/info/dev.camin.us", function(data) {
$.get("/api/server/info/s.camin.us", function(data) {
hours = parseInt((data['time']/1000)+8)%24;
minutes = parseInt(((data['time']/1000)%1)*60);
var day = hours < 12;