Skip to content

Commit

Permalink
[Server] 환경변수 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mniYUNSU committed Aug 29, 2021
1 parent 645c429 commit bb9b069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion server/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
DATABASE_PASSWORD
DATABASE_USERNAME
ACCESS_SECRET
REFRESH_SECRET
6 changes: 3 additions & 3 deletions server/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ require("dotenv").config();

module.exports = {
development: {
username: "root",
username: "admin",
password: process.env.DATABASE_PASSWORD,
database: "jurimma_development",
host: "ec2-3-36-56-37.ap-northeast-2.compute.amazonaws.com",
dialect: "mysql",
port: "13306",
},
test: {
username: "root",
username: "admin",
password: process.env.DATABASE_PASSWORD,
database: "jurimma_test",
host: "ec2-3-36-56-37.ap-northeast-2.compute.amazonaws.com",
dialect: "mysql",
port: "13306",
},
production: {
username: "root",
username: "admin",
password: process.env.DATABASE_PASSWORD,
database: "jurimma_production",
host: "ec2-3-36-56-37.ap-northeast-2.compute.amazonaws.com",
Expand Down

0 comments on commit bb9b069

Please sign in to comment.