Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong URL Redirect for "Get My API Key" button #142

Open
djvierus opened this issue Sep 3, 2023 · 2 comments · May be fixed by #143
Open

Wrong URL Redirect for "Get My API Key" button #142

djvierus opened this issue Sep 3, 2023 · 2 comments · May be fixed by #143
Assignees
Labels
bug Something isn't working

Comments

@djvierus
Copy link

djvierus commented Sep 3, 2023

The "Get My API Key" button redirects to "https://weatherapi.com/my" instead of "https://www.weatherapi.com/my". The first URL returns a "Connection Refused" error because WeatherAPI does not listen to HTTPS traffic on the base URL. You have to include the "www" part in order to hit the actual "my" page.

Also, pushing the weather button after setting it up with my api key doesn't do anything. I assume the issues may be related and we are not pointing to "api.weatherapi.com", but I am unsure about that part.

@djvierus djvierus added the bug Something isn't working label Sep 3, 2023
@djvierus
Copy link
Author

djvierus commented Sep 3, 2023

The bug looks to be on line 117 of the pi/main_pi.js script.

@djvierus
Copy link
Author

djvierus commented Sep 3, 2023

Ignore my *second stanza in the original bug report. I just re-read the instructions and realized I shouldn't specify a title.

@djvierus djvierus linked a pull request Sep 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants