Forráskód Böngészése

Update 'actions/pengunjung.js'

appsptb 3 napja
szülő
commit
6541b0fc77
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      actions/pengunjung.js

+ 1 - 1
actions/pengunjung.js

@@ -3,7 +3,7 @@ import axios2 from "axios";
 
 export const createPengunjung = async (_csrf) => {
 	try {
-		const jsonip = await axios2.get("https://ip-api.io/json");
+		const jsonip = await axios2.get("https://api.ipify.org/?format=json");
 		const res = await axios.post(`/pengunjung/create?_csrf=${_csrf}`, {
 			os: navigator.userAgentData.platform,
 			ipv4: jsonip.data.ip,