Bug description
JSON api response data is displayed in the browser. The frontend does not intercept the routes. We need to prefix the API on some level.
Expected behavior
I expect visiting /ideas/<idea id> will load the specific idea in the frontend.
Steps to reproduce the issue:
- Visit OpenIdeas, and open any idea from the ideas feed.
- Refresh the page.
- See the JSON output.
Technical details:
- Platform (windows/mac/linux/docker): Mac
- Browser: Safari
Additional context
The API should be prefixed. There's a couple approaches, but I'm not knowledgable enough to say which is the best.