pref: update IP check

This commit is contained in:
thehrz 2024-08-19 00:09:55 +08:00
parent 9606dad47c
commit a466d6499a
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -10,8 +10,8 @@ interface Myip {
}
export default function Home() {
const { data: http4 } = useSWR<Myip>("http://4.ipv6test.online/ip/myip", fetcher)
const { data: http6 } = useSWR<Myip>("http://4.ipv6test.online/ip/myip", fetcher)
const { data: http4 } = useSWR<Myip>("https://4.ipv6test.online/ip/myip", fetcher)
const { data: http6 } = useSWR<Myip>("https://6.ipv6test.online/ip/myip", fetcher)
return (