Closed seankim658 closed 2 hours ago
@seankim658 Did you made some changes in home_init api response, if so can you revert those changes.
Before the home_init call from the frontend was failing due to the endpoint route (it was at /pages/detail/home_init
). All I did was correct the route so that the home_init endpoint was correctly at /pages/home_init
so the home_init call is successful. I just reverted that change so the call now fails again when loading the portal and I don't get the white screen issue anymore.
The home_init endpoint returns some stats on our data that Raja eventually wants on the home page.
@seankim658 Do not directly modify prod apis, otherwise there is a chance that it might break the portal - as all existing apis expect a response in particular way. Use dev/test environment to test your changes and once working then push to prod.
When I visit https://biomarkerkb.org the portal seems to load fine and then it disappears and I get a blank white page.
In the console I see a
TypeError
. Not sure if this is related?Unrelated but the home page also seems to hit the logging API with these query string params:
But the
home_init
call works properly and gets a 200 return code?