Skip to content

🩹 Fix typo in Public Ip Widget endpoint definition for ip-api provider#1869

Merged
lissy93 merged 1 commit into
lissy93:masterfrom
s-weigand:fix/typo-in-ip-api-provider-check
Jul 19, 2025
Merged

🩹 Fix typo in Public Ip Widget endpoint definition for ip-api provider#1869
lissy93 merged 1 commit into
lissy93:masterfrom
s-weigand:fix/typo-in-ip-api-provider-check

Conversation

@s-weigand
Copy link
Copy Markdown
Contributor

@s-weigand s-weigand commented Jul 18, 2025

s-weigand Quick s-weigand /fix/typo-in-ip-api-provider-check → Lissy93/dashy Commits: 1 | Files Changed: 1 | Additions: 0 Label Powered by Pull Request Badge

Category: Bugfix

Overview
First of all, thanks for the nice dashboard ❤️
I'm running 3.1.0 via docker in my home lab and found that the Public Ip Widget does not work with the ip-api provider.
After some looking around, I found endpoint lookup uses ipapi in the comparison instead of ip-api, which is used in processData and in the docs.
This causes either the data fetching to be incorrect (for me ipapi.co fails to fetch 🤷‍♀️) or the data processing.

Before

Widget with provider ip-adr
image

Widget with provider ipadr
image

After
Widget with provider ip-adr
image

Code Quality Checklist (Please complete)

  • All changes are backwards compatible
  • All lint checks and tests are passing
  • There are no (new) build warnings or errors

@s-weigand s-weigand requested a review from lissy93 as a code owner July 18, 2025 10:34
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 18, 2025

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit 02b4045
🔍 Latest deploy log https://app.netlify.com/projects/dashy-dev/deploys/687a234b7a12860008611643
😎 Deploy Preview https://deploy-preview-1869--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lissy93 lissy93 merged commit 2d36386 into lissy93:master Jul 19, 2025
7 checks passed
@s-weigand s-weigand deleted the fix/typo-in-ip-api-provider-check branch July 19, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants