Y u no work?
This commit is contained in:
parent
c860055b39
commit
c9dd909166
|
@ -176,12 +176,13 @@ hub:
|
|||
@authenticated
|
||||
def get(self):
|
||||
user_model = self.get_current_user()
|
||||
user_model = { 'name': 'kano'}
|
||||
user_model = os.environ
|
||||
self.set_header('content-type', 'application/json')
|
||||
self.write(json.dumps(user_model, indent=1, sort_keys=True))
|
||||
|
||||
|
||||
def main():
|
||||
print(os.environ)
|
||||
prefix = os.environ.get('JUPYTERHUB_SERVICE_PREFIX', '/')
|
||||
app = Application(
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue