Commit 3436ad8e authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

설정 수정

parent 7c078f88
...@@ -22,3 +22,5 @@ ...@@ -22,3 +22,5 @@
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
package-lock.json
\ No newline at end of file
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"@fullcalendar/daygrid": "^5.10.0", "@fullcalendar/daygrid": "^5.10.0",
"@fullcalendar/interaction": "^5.10.0", "@fullcalendar/interaction": "^5.10.0",
"@fullcalendar/react": "^5.10.0", "@fullcalendar/react": "^5.10.0",
"@popperjs/core": "^2.10.2",
"@testing-library/jest-dom": "^5.14.1", "@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7", "@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3", "@testing-library/user-event": "^12.8.3",
......
const config = { const config = {
env: process.env.NODE_ENV === 'production' ? 'production' : 'development', env: process.env.NODE_ENV === "production" ? "production" : "development",
port: process.env.PORT || 3001, port: process.env.PORT || 3031,
jwtSecret: 'lrfp8sQdoLG6eT', jwtSecret: "lrfp8sQdoLG6eT",
jwtExpires: '30d', jwtExpires: "30d",
cookieName: 'todayku', cookieName: "todayku",
cookieNameMb: 'confirmNum', cookieNameMb: "confirmNum",
cookieMaxAge: 60 * 60 * 24 * 30 * 1000, cookieMaxAge: 60 * 60 * 24 * 30 * 1000,
} };
export default config export default config;
\ No newline at end of file
const config = { const config = {
host: 'localhost', host: "localhost",
username: process.env.PG_USER || 'kuku', username: process.env.PG_USER || "kuku",
password: process.env.PG_PASSWORD || 'kuku0725', password: process.env.PG_PASSWORD || "kuku0725",
database: process.env.PG_DATABASE || 'todayKUDB', database: process.env.PG_DATABASE || "today_kudb",
dialect: 'postgres', dialect: "postgres",
timezone: '+09:00', timezone: "+09:00",
pool: { pool: {
max: 10, max: 10,
min: 0, min: 0,
acquire: 30000, acquire: 30000,
idle: 10000, idle: 10000,
} },
} };
export default config export default config;
\ No newline at end of file
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