diff --git a/js/privatebin.js b/js/privatebin.js index c2085f9b..8c9b6092 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4555,7 +4555,8 @@ jQuery.PrivateBin = (function($, RawDeflate) { // whitelist localhost for development if ( url.hostname === 'localhost' || - url.hostname === '127.0.0.1' + url.hostname === '127.0.0.1' || + url.hostname === '[::1]' ) { return false; } diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 45b231e4..3e090f50 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -72,7 +72,7 @@ if ($MARKDOWN): endif; ?> - + diff --git a/tpl/page.php b/tpl/page.php index aaddba1f..8c9f1b0c 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -50,7 +50,7 @@ if ($MARKDOWN): endif; ?> - +