Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

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

s-weigand02b40459ca1d
diff --git a/src/components/Widgets/PublicIp.vue b/src/components/Widgets/PublicIp.vue
index a3a31510..878b39f6 100644
--- a/src/components/Widgets/PublicIp.vue
+++ b/src/components/Widgets/PublicIp.vue
@@ -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;