In order to fix them, a manual change needs to be done in the plugins/node_modules folder.
For Linux based systems, it is usually under ~/.config/Cerebro/ folder.
Two main issues:
Solution:
-
Open
plugins/node_modules/cerebro-converter/dist/index.js -
Find this piece of code on it: https://github.com/cerebroapp/cerebro-converter/blob/87b45e487572dad754067d510295fd871225d20e/src/currency/getUrl.js#L4-L13
-
Create an API_KEY for yourself in https://fixer.io/ and change it in the
API_KEYvariable
Issues:
- API call using HTTP (not HTTPS)
- Hardcoded API_KEY does not exist anymore
Solution:
- Open GCP, create a project, create a credential that can use GEOCODE and TIME ZONE APIs.
- Open
plugins/node_modules/cerebro-timezones/dist/index.js(this one will be harder because it's minified) - look for Google API URLs by seaching for
maps.googleapis.comin your IDE. - replace
http://withhttps:// - add a
&key=YOUR_API_KEYto the geocode API request - replace the
keyin the timezone API request with yours
Reload the app and you should be good!
tnks