diff --git a/butterfly/__init__.py b/butterfly/__init__.py index 3271d9e..b90b9f4 100644 --- a/butterfly/__init__.py +++ b/butterfly/__init__.py @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -__version__ = '1.0.1' +__version__ = '1.0.2' import os diff --git a/butterfly/routes.py b/butterfly/routes.py index cc181aa..c2fdff7 100644 --- a/butterfly/routes.py +++ b/butterfly/routes.py @@ -108,7 +108,7 @@ class TermWebSocket(Route, tornado.websocket.WebSocketHandler): @property def is_local(self): - return self.bind == '127.0.0.1' + return self.bind in ['127.0.0.1', '::1'] @property def pw(self):