Closed wjonassen closed 1 month ago
This is just a small change to begin with so I can get some comments before I make the changes for the entire project. I've done login, as well as the platforms page. Once we agree, the rest of the pages will be updated to follow the same process.
Failed conditions
0.0% Coverage on New Code (required ≥ 30%)
3.1% Duplication on New Code (required ≤ 3%)
Currently, javascript hits its own webserver and then that is relayed to the api. This is unnecessarily complicated, so now the browser will talk directly with the API, removing that middle step.
Solution
The goal is to remove the gateway code completely and have the user set the path to the api in a config file.
how you tested the change
Need to test that all of the pages and ajax calls interact the same as before. NOTE - CORS settings will need to be set properly as well.