Log
This commit is contained in:
parent
4ce23f0acc
commit
1f40dde46e
|
@ -223,6 +223,7 @@ hub:
|
||||||
|
|
||||||
@authenticated
|
@authenticated
|
||||||
def get(self):
|
def get(self):
|
||||||
|
app_log.debug("DEBUG: In auth get")
|
||||||
user_model = self.get_current_user()
|
user_model = self.get_current_user()
|
||||||
user_model = {'helloooooo': 'hej'}
|
user_model = {'helloooooo': 'hej'}
|
||||||
self.set_header('content-type', 'application/json')
|
self.set_header('content-type', 'application/json')
|
||||||
|
@ -231,11 +232,13 @@ hub:
|
||||||
class PingHandler(RequestHandler):
|
class PingHandler(RequestHandler):
|
||||||
|
|
||||||
def get(self):
|
def get(self):
|
||||||
|
app_log.debug("DEBUG: In get")
|
||||||
self.set_header('content-type', 'application/json')
|
self.set_header('content-type', 'application/json')
|
||||||
self.write(json.dumps({'ping': 1}))
|
self.write(json.dumps({'ping': 1}))
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
app_log.debug("DEBUG: In main")
|
||||||
tornado.options.parse_command_line()
|
tornado.options.parse_command_line()
|
||||||
app = Application([
|
app = Application([
|
||||||
(os.environ['JUPYTERHUB_SERVICE_PREFIX'] + 'tokens', RefreshHandler),
|
(os.environ['JUPYTERHUB_SERVICE_PREFIX'] + 'tokens', RefreshHandler),
|
||||||
|
|
Loading…
Reference in a new issue