Skip to content

Commit 2d36386

Browse files
authored
🔀 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
2 parents b7d40c5 + 02b4045 commit 2d36386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/components/Widgets/PublicIp.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
return `${widgetApiEndpoints.publicIp2}?apiKey=${this.apiKey}`;
2727
} else if (this.provider === 'ip2location.io') {
2828
return `${widgetApiEndpoints.publicIp4}?key=${this.apiKey}`;
29-
} else if (this.provider === 'ipapi') {
29+
} else if (this.provider === 'ip-api') {
3030
return widgetApiEndpoints.publicIp3;
3131
}
3232
return widgetApiEndpoints.publicIp;

0 commit comments

Comments
 (0)