Skip to content

Commit 3a3455d

Browse files
authored
Merge pull request #294 from kevin-bates/allow-remote-access
Allow access from remote hosts by default
2 parents cc3f0f7 + 97c13e1 commit 3a3455d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ sudo: false
22
language: python
33
python:
44
- 2.7
5-
- 3.3
65
- 3.4
76
- 3.5
87
- 3.6

kernel_gateway/gatewayapp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,9 @@ def init_webapp(self):
457457
kg_personality=self.personality,
458458
# Also set the allow_origin setting used by notebook so that the
459459
# check_origin method used everywhere respects the value
460-
allow_origin=self.allow_origin
460+
allow_origin=self.allow_origin,
461+
# Always allow remote access (has been limited to localhost >= notebook 5.6)
462+
allow_remote_access=True
461463
)
462464

463465
# promote the current personality's "config" tagged traitlet values to webapp settings

0 commit comments

Comments
 (0)