Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing frontend URLs returns JSON API response #25

Open
jay-hankins opened this issue May 14, 2018 · 1 comment
Open

Routing frontend URLs returns JSON API response #25

jay-hankins opened this issue May 14, 2018 · 1 comment
Assignees
Labels

Comments

@jay-hankins
Copy link
Contributor

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.

@jay-hankins
Copy link
Contributor Author

@matthewess, you're a good resource for the backend code. can you check this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants