The Truth-Loop solution helps communities simply understand the policies, regulations and legislation that will impact them the most and allows them to share their experiences around how policies have impacted them or how proposed policies could impact them using short video testimonials.
Background on the problem the feature will solve/improved user experience
Currently the hard-coded link assumes the application was deployed to http://localhost:5000. If the user has deployed elsewhere (or to another port) the api-docs will not load correctly.
Describe the solution you'd like
The SideNav item should point to /api-docs so it doesn't matter where the application is deployed.
Tasks
Just change the link and test the api-docs load correctly.
Acceptance Criteria
No further code changes are necessary if app is deployed on port 5000 or 5001
Background on the problem the feature will solve/improved user experience
Currently the hard-coded link assumes the application was deployed to
http://localhost:5000
. If the user has deployed elsewhere (or to another port) the api-docs will not load correctly.Describe the solution you'd like
The SideNav item should point to /api-docs so it doesn't matter where the application is deployed.
Tasks
Just change the link and test the api-docs load correctly.
Acceptance Criteria
No further code changes are necessary if app is deployed on port 5000 or 5001