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

404 after deploying to Heroku #7

Open
ghost opened this issue Apr 6, 2019 · 0 comments
Open

404 after deploying to Heroku #7

ghost opened this issue Apr 6, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 6, 2019

Getting bellow error when trying to access app via heroku url https://ofo-nodejs.herokuapp.com/

{"status":"Error","message":"Not Found","code":404,"stackTrace":"Error: Not Found\n    at new NotFound (/app/node_modules/express-simple-errors/lib/errors.js:74:11)\n    at handleNotFound (/app/node_modules/express-simple-errors/lib/errorHandler.js:77:12)\n    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/app/node_modules/express/lib/router/index.js:317:13)\n    at /app/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/app/node_modules/express/lib/router/index.js:335:12)\n    at next (/app/node_modules/express/lib/router/index.js:275:10)\n    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:91:12)\n    at trim_prefix (/app/node_modules/express/lib/router/index.js:317:13)\n    at /app/node_modules/express/lib/router/index.js:284:7"}

I think it might be caused by "todoapp" POSTGRES values in codeship-services.yml or docker-compose.yml (that's another question, I can't figure out when is docker-compose.yml used.

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

No branches or pull requests

0 participants