Skip to content

Routing frontend URLs returns JSON API response #25

@jay-hankins

Description

@jay-hankins

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:

  1. Visit OpenIdeas, and open any idea from the ideas feed.
  2. Refresh the page.
  3. 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions