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