Skip to content

Deployment to Heroku #24

@FredLavoie

Description

@FredLavoie

Many students have had issues deploying to Heroku recently (myself included). Navigating to /api/days for example times out.

In the package.json file, the following should be added to fix this issue:

  "engines": {
    "node": "12.20.1"
  },

I found the solution from this thread:
https://stackoverflow.com/questions/66112339/persistent-h12-timeout-error-for-all-requests-that-run-a-database-query

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions