Skip to content

Commit

Permalink
Merge pull request #372 from ricklamers/master
Browse files Browse the repository at this point in the history
Pass `self.base_url` to Tornado constructor
  • Loading branch information
kevin-bates committed Dec 7, 2021
2 parents 265b99b + 85a0c18 commit 440fef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel_gateway/gatewayapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ def init_webapp(self):
# Also set the allow_origin setting used by notebook so that the
# check_origin method used everywhere respects the value
allow_origin=self.allow_origin,
# Set base_url for use in request handlers
base_url=self.base_url,
# Always allow remote access (has been limited to localhost >= notebook 5.6)
allow_remote_access=True
)
Expand Down

0 comments on commit 440fef1

Please sign in to comment.