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

#169776372 Fix heroku error #45

Merged
merged 1 commit into from
Dec 9, 2019
Merged

Conversation

ivymwende
Copy link
Contributor

@ivymwende ivymwende commented Dec 6, 2019

What does this PR do?

Fixes Heroku error.

Description of Task to be completed?

  • Fix start script for production
  • Add route that checks for a non-existing route

How should this be manually tested?

  • Test on postman using the route https://team-odd-bn-backend-staging.herokuapp.com/

Any background context you want to provide?

N/A

What are the relevant pivotal tracker stories?

#169776372

Screenshots (if appropriate)

image

image

Questions:

@ivymwende ivymwende temporarily deployed to team-odd-bn-backend-staging December 9, 2019 06:58 Inactive
@ivymwende ivymwende temporarily deployed to team-odd-bn-backend-staging December 9, 2019 07:27 Inactive
@ivymwende ivymwende temporarily deployed to team-odd-bn-backend-staging December 9, 2019 07:33 Inactive
@nziokaivy nziokaivy added the Ready for review Task is done. It is ready to be reviewed label Dec 9, 2019
Copy link
Collaborator

@victkarangwa victkarangwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @ivymwende, I think we should all as a team learn from your commitment & initiative.
Just have a look at one comment I have just left.

src/index.js Outdated
Comment on lines 15 to 17
app.use('/', router);

app.use('/', router);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove one of these lines: app.use('/', router); ?
It seems that it's duplicated.

- Fix start script for production
- Add route that checks for a non-existing route

[Finishes #169776372]
@julietezekwe julietezekwe merged commit a0641af into develop Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for review Task is done. It is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants