These are chat archives for CommonGarden/Grow-IoT

4th
Jun 2016
Jake Hartnell
@JakeHartnell
Jun 04 2016 00:12 UTC
Relevant:
# From: https://medium.com/@satyavh/using-flow-router-for-authentication-ba7bb2644f42#.vty74pkpy
loggedIn = FlowRouter.group
 triggersEnter: [ ->
   unless Meteor.loggingIn() or Meteor.userId()
     route = FlowRouter.current()
     unless route.route.name is 'login'
       Session.set 'redirectAfterLogin', route.path
     FlowRouter.go '/login'
 ]
What was the url where it said app not found?
Jake Hartnell
@JakeHartnell
Jun 04 2016 00:36 UTC
So do you expect to go to a URL other that root and be redirected to login?
JF
@cloudzombie
Jun 04 2016 01:55 UTC
Url where said app not found was http://localhost:3000 on the master branch of, development branch doesn't give same errors
JF
@cloudzombie
Jun 04 2016 09:20 UTC
And no definitely didn't expect to go to say, /dashboard and have it go to /login, its more like after the update to master branch Thursday morning broke routing somewhere just enough to not display app correctly, and was giving me errors unless typing in /login on the root url. I believe I now have development branch and Grow.js talking correctly with the dummy code in the quickstart. No toggles are available but I'm assuming thsts because there isn't actually a device hooked up to it.
Jake Hartnell
@JakeHartnell
Jun 04 2016 20:24 UTC
Cool, thanks for the clarification.
Jake Hartnell
@JakeHartnell
Jun 04 2016 20:33 UTC
Ok, on the latest master, I'm not having that problem. Is your master branch up to date? Try git pull --rebase origin master