mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 07:34:43 +02:00
🔀 Merge pull request #1869 from s-weigand/fix/typo-in-ip-api-provider-check
🩹 Fix typo in Public Ip Widget endpoint definition for ip-api provider
This commit is contained in:
commit
2d36386507
@ -26,7 +26,7 @@ export default {
|
|||||||
return `${widgetApiEndpoints.publicIp2}?apiKey=${this.apiKey}`;
|
return `${widgetApiEndpoints.publicIp2}?apiKey=${this.apiKey}`;
|
||||||
} else if (this.provider === 'ip2location.io') {
|
} else if (this.provider === 'ip2location.io') {
|
||||||
return `${widgetApiEndpoints.publicIp4}?key=${this.apiKey}`;
|
return `${widgetApiEndpoints.publicIp4}?key=${this.apiKey}`;
|
||||||
} else if (this.provider === 'ipapi') {
|
} else if (this.provider === 'ip-api') {
|
||||||
return widgetApiEndpoints.publicIp3;
|
return widgetApiEndpoints.publicIp3;
|
||||||
}
|
}
|
||||||
return widgetApiEndpoints.publicIp;
|
return widgetApiEndpoints.publicIp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user