Commit 84850959 authored by Aral Balkan's avatar Aral Balkan
Browse files

Changed the hardcoded dev-time URL to my machine’s IP. Added a few comments.

parent 87422943
......@@ -375,6 +375,9 @@ class MainInterfaceSplitViewController: NSSplitViewController
delay(4.0)
{
// TODO: REMOVE THIS DELAY HACK!!!
// This is simulating waiting for the initial sync with Waystone to be complete.
// (Until that happens, we do not receive any Pulse events.)
// TODO: We should expose this to the user so they know when Pulse is actually ready.
println("ℹ️ About to post the new person message. (\(self))\n")
// Create the message, persist it, and notify the timeline to show it.
......
......@@ -137,7 +137,7 @@ class MessageSplitViewController: NSSplitViewController
println("Got a valid userinfo type")
if messageType == MessageType.named(.NewPersonNotification)
{
println("Got a new user notification")
println("Got a new person notification")
indexHTML = NSString(format: "<div class=\"new-person-notification\">%@</div>", indexHTML)
}
}
......
......@@ -345,7 +345,7 @@ class TimelineViewController: NSViewController
//
if timeline.id == "everyone"
{
let indieURL = NSURL(string: "http://192.168.59.103:3000") // NOTE: HARDCODED DEV URL
let indieURL = NSURL(string: "http://192.168.0.10:3001") // NOTE: HARDCODED DEV URL TO ARAL’S COMPUTER’S CURRENT IP ADDRESS!!! Make sure you run and keep open the ./setup-dev-forward script first.
webkit.loadRequest(NSURLRequest(URL: indieURL!))
return
......
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