Description of the issue
There are three calls in the source, where the endpoint /api/oeo-search is called. All these three calls are not relative, but use the whole url: https://openenergyplatform.org/api/oeo-search?query=" + input;
This is fine on the main instance, but a problem on other instances, additionally, if these use a different or extended oeo.
Steps to Reproduce
- https://github.com/search?q=repo%3AOpenEnergyPlatform%2Foeplatform+api%2Foeo-search&type=code
Ideas of solution
Make calls relative, I'll add a PR just afterward.
Context and Environment
- Version used: current
- Operating system: not relevant
- Environment setup and (python) version: not relevant
Workflow checklist
Description of the issue
There are three calls in the source, where the endpoint /api/oeo-search is called. All these three calls are not relative, but use the whole url:
https://openenergyplatform.org/api/oeo-search?query=" + input;This is fine on the main instance, but a problem on other instances, additionally, if these use a different or extended oeo.
Steps to Reproduce
Ideas of solution
Make calls relative, I'll add a PR just afterward.
Context and Environment
Workflow checklist
CONTRIBUTING.md