adding IPv6 localhost to exceptions

This commit is contained in:
El RIDO 2019-06-23 09:56:18 +02:00
parent dc193f7555
commit 61fde53de0
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 4 additions and 3 deletions

View file

@ -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;
}