mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
explicit ipv4
This commit is contained in:
parent
b1e742e2a1
commit
c32f05f8c4
@ -46,7 +46,7 @@ function refreshCorsStatus() {
|
||||
}
|
||||
|
||||
function icanhazip(cors) {
|
||||
return fetch((cors ? getCorsProxy() : "") + "https://icanhazip.com")
|
||||
return fetch((cors ? getCorsProxy() : "") + "https://ipv4.icanhazip.com")
|
||||
.then(it => {
|
||||
if (!isSuccess(it.status)) throw "not success " + it.status
|
||||
return it.text();
|
||||
|
Loading…
Reference in New Issue
Block a user