mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-26 23:24:38 +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}`;
|
||||
} 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user