mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 05:53:00 +00:00
Merge pull request #3626 from minrk/token-log
server-api example typo: trim space in token file
This commit is contained in:
@@ -29,7 +29,7 @@ def get_token():
|
||||
token_file = here.joinpath("service-token")
|
||||
log.info(f"Loading token from {token_file}")
|
||||
with token_file.open("r") as f:
|
||||
token = f.read()
|
||||
token = f.read().strip()
|
||||
return token
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user