-
Notifications
You must be signed in to change notification settings - Fork 387
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
Keep getting "invalid JSON response" on private GitHub repo #131
Comments
@ryandunnewold Thanks for sharing this! I'm quite new here, not really sure how I can use your fix with my own private repo? |
You can edit the files directly in your Vercel hazel fork. |
This is a showstopper bug on macOS that should really be handled immediately. Also the documentation for configuring the server address is missing the https:// prefix. |
I changed it in my fork, but it still returns the old url, is there any other step that needs to be done? like clearing the a cache? EDIT: |
Same issue here, I will update it in my fork as well. |
I have same issue. Request
Response{"name":"v0.1.9","notes":null,"pub_date":"2022-06-14T05:50:23Z","url":"my-hazel-server.vercel.app.vercel.app/download/darwin?update=true"} this response contains |
In the docs it says that private repos automatically sets the URL environment variable. It doesn't properly return it though and autoUpdater throws an error:
Here is original code:
hazel/lib/routes.js
Lines 162 to 169 in a06e6c5
Here is the solution that worked for me. Curious if there is a more elegant way to solve this:
The text was updated successfully, but these errors were encountered: