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

설정 수정

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