Skip to content

Commit 440fef1

Browse files
authored
Merge pull request #372 from ricklamers/master
Pass `self.base_url` to Tornado constructor
2 parents 265b99b + 85a0c18 commit 440fef1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel_gateway/gatewayapp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,8 @@ def init_webapp(self):
482482
# Also set the allow_origin setting used by notebook so that the
483483
# check_origin method used everywhere respects the value
484484
allow_origin=self.allow_origin,
485+
# Set base_url for use in request handlers
486+
base_url=self.base_url,
485487
# Always allow remote access (has been limited to localhost >= notebook 5.6)
486488
allow_remote_access=True
487489
)

0 commit comments

Comments
 (0)