Commit 1aebc052 authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent 8be44224
......@@ -3,7 +3,7 @@ require('dotenv').config()
const { Pool } = require('pg')
const isProduction = process.env.NODE_ENV === 'production'
const connectionString = `postgresql://docmanagement:Password1!@10.10.88.182:5432/documentmanagement`
const connectionString = `postgresql://postgres:postgres@10.12.1.167:5432/documentmanagement`//`postgresql://docmanagement:Password1!@10.10.88.182:5432/documentmanagement`
const pool = new Pool({
connectionString: isProduction ? process.env.DATABASE_URL : connectionString,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment