Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Add optionality for mysql configuration (since they are not needed ne…
Browse files Browse the repository at this point in the history
…ccessarily)
  • Loading branch information
f4irline committed May 22, 2019
1 parent 43fffa5 commit 3e9985e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const config = {};
* For MySQL installation (not used currently).
*/
config.mysql = {
host: process.env.DB_HOST,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
database: process.env.DB,
host: process.env.DB_HOST | undefined,
user: process.env.DB_USER | undefined,
password: process.env.DB_PASSWORD | undefined,
database: process.env.DB | undefined,
}

config.port = process.env.PORT;
Expand Down

0 comments on commit 3e9985e

Please sign in to comment.