Skip to content

Commit

Permalink
update env & config
Browse files Browse the repository at this point in the history
  • Loading branch information
Servond committed Jul 13, 2023
1 parent 642f111 commit b799a6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions projects/client/.env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PORT=3000
REACT_APP_API_BASE_URL=http://monorepo.purwadhikabootcamp.com/api
REACT_APP_IMAGE_BASE_URL=http://monorepo.purwadhikabootcamp.com/
PORT=8000
REACT_APP_API_BASE_URL=http://jcwdol0901.purwadhikabootcamp.com/api
REACT_APP_IMAGE_BASE_URL=http://jcwdol0901.purwadhikabootcamp.com/
8 changes: 4 additions & 4 deletions projects/server/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ module.exports = {
dialect: "mysql",
},
production: {
username: "root",
password: null,
database: "database_production",
host: "127.0.0.1",
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
database: process.env.DB_SCHEMA,
host: process.env.DB_HOST,
dialect: "mysql",
},
};

0 comments on commit b799a6f

Please sign in to comment.