mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 23:19:43 +00:00
localhost IPv6
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
__version__ = '1.0.1'
|
||||
__version__ = '1.0.2'
|
||||
|
||||
|
||||
import os
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user