ck 4 anni fa
parent
commit
3267062cf9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ServerWrapper.py

+ 1 - 1
ServerWrapper.py

@@ -25,7 +25,7 @@ class HttpServerWrapper(tornado.web.Application):
         self.port = port
         handlers = urls
         r = requests.get("http://jsonip.com").json()['ip']
-        auth =False if r == '47.111.161.141' else False
+        auth =True if r == '47.111.161.141' else False
         settings = {
             "port" : sys.argv[1],
             "auth": auth,