Skip to content

Commit 71b3031

Browse files
author
Slinto
committed
Add DB_URL
1 parent 1b58053 commit 71b3031

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var express = require('express'),
1717

1818
const DEV_ENV = 'DEVELOPMENT',
1919
APP_VER = pjson.version,
20-
DB_URL = 'db_url_here';
20+
DB_URL = process.env.DB_URL || 'db_url_here';
2121

2222
export const CURRENT_ENV = process.env.NODE_ENV || DEV_ENV;
2323
export const port = process.env.PORT || 8080;

0 commit comments

Comments
 (0)