Changed the request URL in from an absolute path () to a relative path (). This ensures that the API request is always sent to the same domain that the admin page is loaded from, resolving CORS and NetworkError issues when accessing the UI from a production FQDN or a live server with a different port. This change relies on a correctly configured reverse proxy in the production environment.
bpb-website
Description
Languages
JavaScript
40.1%
HTML
32.3%
Shell
19.6%
CSS
7%
Python
0.5%
Other
0.5%