mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
adding IPv6 localhost to exceptions
This commit is contained in:
parent
dc193f7555
commit
61fde53de0
3 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue