Skip to content

Commit f028ffe

Browse files
authored
Merge pull request #1272 from minrk/skip-check-versions
skip ip check in VersionHandler
2 parents b0566bc + 854be18 commit f028ffe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

binderhub/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ class VersionHandler(BaseHandler):
149149

150150
# demote logging of 200 responses to debug-level
151151
log_success_debug = True
152+
# allow version-check requests from banned hosts
153+
# (e.g. mybinder.org federation when blocking cloud datacenters)
154+
skip_check_request_ip = True
152155

153156
async def get(self):
154157
self.set_header("Content-type", "application/json")

0 commit comments

Comments
 (0)