Skip to content

Commit

Permalink
☕️ Fixed multiple IPs by splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
Just-Moh-it authored Jul 1, 2022
1 parent 80226a0 commit 222f2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/utils/hitInsert.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = async ({ ip, userAgent, pckdId, prisma }) => {
try {
// const ispInfo = await isp(ip);
if (ip) {
const rawIspInfo = await isp(ip);
const rawIspInfo = await isp(ip.split(" ")[0]);

ipInfo = {
ip: ip,
Expand Down

0 comments on commit 222f2f4

Please sign in to comment.