mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-21 13:16:36 +00:00
Updated handler.py and test_hanlder.py
This commit is contained in:
@@ -35,7 +35,9 @@ class MixinHandler(object):
|
||||
else:
|
||||
if ip: # does not validate ip and port here
|
||||
return (ip, port)
|
||||
|
||||
logging.warn('Bad nginx configuration.')
|
||||
return False
|
||||
|
||||
|
||||
class IndexHandler(MixinHandler, tornado.web.RequestHandler):
|
||||
|
||||
Reference in New Issue
Block a user