Skip to content

heroku database connection  #17

Description

@abdhalees

I see you are using one database https://github.com/FACG2/GSG_Orders_Manager/blob/master/database/db_connection.js#L8 and I assume it's the database hosted on heroku, and because heroku asks for a secure connection from outside of heruko.
Use this line instead:

const pool = new Pool({connectionString: data_url, ssl: true});

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