t&e
This commit is contained in:
parent
03788c1eb0
commit
bd55a67e49
|
@ -173,9 +173,8 @@ hub:
|
|||
|
||||
|
||||
class RefreshHandler(HubAuthenticated, RequestHandler):
|
||||
@authenticated
|
||||
# @authenticated
|
||||
def get(self):
|
||||
print(os.environ)
|
||||
user_model = self.get_current_user()
|
||||
self.set_header('content-type', 'application/json')
|
||||
self.write(json.dumps(user_model, indent=1, sort_keys=True))
|
||||
|
@ -191,7 +190,6 @@ hub:
|
|||
)
|
||||
|
||||
http_server = HTTPServer(app)
|
||||
print(os.environ)
|
||||
url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL'])
|
||||
|
||||
http_server.listen(url.port, reuse_port=True)
|
||||
|
|
Loading…
Reference in a new issue