🩹 Fix typo in PublicIp Widget endpoint definition for ip-api provider

This commit is contained in:
s-weigand 2025-07-18 11:15:14 +02:00
parent b205e01620
commit 02b40459ca
No known key found for this signature in database
GPG Key ID: 99F802D7F69F2436

View File

@ -26,7 +26,7 @@ export default {
return `${widgetApiEndpoints.publicIp2}?apiKey=${this.apiKey}`;
} else if (this.provider === 'ip2location.io') {
return `${widgetApiEndpoints.publicIp4}?key=${this.apiKey}`;
} else if (this.provider === 'ipapi') {
} else if (this.provider === 'ip-api') {
return widgetApiEndpoints.publicIp3;
}
return widgetApiEndpoints.publicIp;