mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
🩹 Fix typo in PublicIp Widget endpoint definition for ip-api provider
This commit is contained in:
parent
b205e01620
commit
02b40459ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue