Commit 2b738295 authored by Michael Murtaugh's avatar Michael Murtaugh

use server/url for remote collage play

parent 92ec51e7
......@@ -3,7 +3,7 @@ var io = require(''),
spawn = require('child_process').spawn,
player = undefined;
var settings = JSON.parse(fs.readFileSync("settings.json", "utf8")),
server_base = "http://"+settings.ipaddress+":"+settings.port,
serverbase = "http://"+settings.ipaddress+":"+settings.port,
socket = io.connect(serverbase);
socket.on("connect", function (data) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment