OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › OSPi Major Update Available › Reply To: OSPi Major Update Available
October 16, 2014 at 6:16 am
#33990
Crusader998
Participant
so under webpages.py doing the following would work well:
gv.baseurl = ‘https://mydomain.com/opensprinkler’
else:
web.config._session.user = ‘admin’
raise web.seeother(gv.baseurl + ‘/’)
that way its compatible with the standard deployment and makes it flexible with more complex ones.