From d2923e20d5170e30211d4643209e2d06086a095e Mon Sep 17 00:00:00 2001
From: Ubuntu <ubuntu@ip-172-31-1-27.ap-northeast-2.compute.internal>
Date: Sat, 7 Dec 2024 18:15:45 +0000
Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=84=B8=EC=85=98=EC=98=A4?=
 =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 output.log        | 346 +++++++++++++++++++++++++++++-----------------
 routes/session.js |  11 +-
 weblog.log        |   4 +-
 3 files changed, 226 insertions(+), 135 deletions(-)

diff --git a/output.log b/output.log
index d9136a9..6df63b6 100644
--- a/output.log
+++ b/output.log
@@ -1,135 +1,223 @@
 MongoDB URI: mongodb+srv://admin:lim1234!!@goodmeeting.vkniz.mongodb.net/
-(node:77051) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
+(node:182036) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
 (Use `node --trace-warnings ...` to show where the warning was created)
-(node:77051) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
+(node:182036) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
 �� MongoDB �곌껐 �깃났
 Rdb�곗씠�곕쿋�댁뒪 �곌껐 �깃났.
 紐⑤뱺 紐⑤뜽�� �깃났�곸쑝濡� �숆린�붾릺�덉뒿�덈떎.
 Server is running on 8080
-GET /api/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php 404 9.005 ms - 193
-GET / 404 2.052 ms - 139
-GET / 404 1.179 ms - 139
-GET / 404 1.045 ms - 139
-GET / 404 1.827 ms - 139
-GET / 404 1.101 ms - 139
-GET /download/powershell/ 404 1.186 ms - 159
-GET /get.php 404 0.895 ms - 146
-GET / 404 1.429 ms - 139
-GET /api/im/v2/app/config 404 1.289 ms - 159
-GET /api/ 404 1.099 ms - 143
-GET /api/ 404 1.036 ms - 143
-GET /api/c/a 404 0.920 ms - 146
-GET /api/ping 404 0.873 ms - 147
-GET /api/notice 404 0.902 ms - 149
-GET /api/config 404 0.936 ms - 149
-GET /api/version 404 0.871 ms - 150
-GET /api/v1/config 404 1.131 ms - 152
-GET /api/index/web 404 0.706 ms - 152
-GET /api/Business/ 404 0.752 ms - 152
-GET /api/shop/getKF 404 1.018 ms - 153
-GET /api/index/init 404 0.893 ms - 153
-GET /api/Event/basic 404 0.632 ms - 154
-GET /api/apps/config 404 0.583 ms - 154
-GET /api/front/index 404 0.941 ms - 154
-GET /api/app/indexList 404 0.850 ms - 156
-GET /api/common/config 404 0.784 ms - 156
-GET /api/Home/videoNew 404 2.733 ms - 156
-GET /api/getCustomLink 404 0.672 ms - 156
-GET /api/uploads/apimap 404 0.584 ms - 157
-GET /api/v1/member/kefu 404 0.642 ms - 157
-GET /api/config/getkefu 404 0.684 ms - 157
-GET /api/site/getInfo.do 404 0.667 ms - 158
-GET /api/message/webInfo 404 0.595 ms - 158
-GET /api/index/webconfig 404 0.703 ms - 158
-GET /api/index/getConfig 404 0.745 ms - 158
-GET /api/index/grailindex 404 0.931 ms - 159
-GET /api/shares/hqStrList 404 0.770 ms - 159
-GET /api/user/ismustmobile 404 0.753 ms - 160
-GET /api/user/ismustmobile 404 0.697 ms - 160
-GET /api/user/ismustmobile 404 0.616 ms - 160
-GET /api/banner?appKey=bxefdn 404 1.134 ms - 149
-GET /api/Config/getShowConfig 404 0.590 ms - 163
-GET /api/home/customerService 404 2.229 ms - 163
-GET /api/client/app/config.do 404 0.698 ms - 163
-GET /api/product/getPointStore 404 0.703 ms - 164
-GET /api/currency/quotation_new 404 0.751 ms - 165
-GET /api/vue/transaction/config 404 0.821 ms - 165
-GET /api/predict-whole-panel.do 404 0.800 ms - 165
-GET /api/common/menus?lang=zh-Hans 404 0.767 ms - 155
-GET /api/appVersion?mobile_system=2 404 0.711 ms - 153
-GET /api/public/?service=Home.getConfig 404 0.797 ms - 150
-GET /api/unSecurity/app/listAppVersionInfo 404 0.793 ms - 176
-GET /api/stock/getSingleStock.do?code=002405 404 0.739 ms - 166
-GET /api/system/systemConfigs/getCustomerServiceLink 404 0.780 ms - 186
-GET /api/v/index/queryOfficePage?officeCode=customHomeLink 404 0.805 ms - 166
-GET /api/im/v2/app/config 404 2.524 ms - 159
-GET /api/ 404 0.739 ms - 143
-GET /api/ 404 0.792 ms - 143
-GET /api/c/a 404 0.761 ms - 146
-GET /api/ping 404 0.715 ms - 147
-GET /api/config 404 0.930 ms - 149
-POST /api/notice 404 24.787 ms - 150
-GET /api/version 404 0.963 ms - 150
-GET /api/v1/config 404 0.761 ms - 152
-GET /api/Business/ 404 0.618 ms - 152
-GET /api/index/web 404 0.595 ms - 152
-GET /api/shop/getKF 404 0.747 ms - 153
-GET /api/Event/basic 404 0.612 ms - 154
-GET /api/front/index 404 0.620 ms - 154
-GET /api/index/init 404 0.647 ms - 153
-GET /api/apps/config 404 0.657 ms - 154
-GET /api/app/indexList 404 0.925 ms - 156
-GET /api/common/config 404 0.645 ms - 156
-GET /api/Home/videoNew 404 2.724 ms - 156
-POST /api/getCustomLink 404 13.160 ms - 157
-GET /api/v1/member/kefu 404 0.575 ms - 157
-GET /api/uploads/apimap 404 0.538 ms - 157
-GET /api/config/getkefu 404 0.724 ms - 157
-GET /api/site/getInfo.do 404 0.511 ms - 158
-GET /api/message/webInfo 404 0.683 ms - 158
-GET /api/index/webconfig 404 0.714 ms - 158
-GET /api/index/getConfig 404 0.676 ms - 158
-GET /api/index/grailindex 404 0.676 ms - 159
-GET /api/shares/hqStrList 404 0.590 ms - 159
-POST /api/user/ismustmobile 404 0.950 ms - 161
-GET /api/user/ismustmobile 404 0.558 ms - 160
-POST /api/user/ismustmobile 404 0.805 ms - 161
-GET /api/banner?appKey=bxefdn 404 0.834 ms - 149
-GET /api/Config/getShowConfig 404 0.621 ms - 163
-GET /api/client/app/config.do 404 0.643 ms - 163
-GET /api/home/customerService 404 0.613 ms - 163
-GET /api/product/getPointStore 404 0.842 ms - 164
-GET /api/currency/quotation_new 404 0.812 ms - 165
-GET /api/vue/transaction/config 404 0.669 ms - 165
-GET /api/predict-whole-panel.do 404 1.121 ms - 165
-GET /api/common/menus?lang=zh-Hans 404 0.788 ms - 155
-GET /api/appVersion?mobile_system=2 404 1.182 ms - 153
-GET /api/public/?service=Home.getConfig 404 0.590 ms - 150
-GET /api/unSecurity/app/listAppVersionInfo 404 0.642 ms - 176
-GET /api/stock/getSingleStock.do?code=002405 404 2.576 ms - 166
-POST /api/system/systemConfigs/getCustomerServiceLink 404 0.816 ms - 187
-GET /api/v/index/queryOfficePage?officeCode=customHomeLink 404 0.642 ms - 166
-GET http://example.com/ 404 2.861 ms - 139
-GET http://example.com/ 404 0.862 ms - 139
-GET / 404 0.856 ms - 139
-GET /favicon.ico 404 0.860 ms - 150
-GET / 404 0.899 ms - 139
-GET / 404 0.812 ms - 139
-GET /manage/account/login 404 0.807 ms - 159
-GET /admin/index.html 404 0.875 ms - 155
-GET /index.html 404 0.870 ms - 149
-GET /+CSCOE+/logon.html 404 0.831 ms - 157
-GET /cgi-bin/login.cgi 404 0.864 ms - 156
-GET /logon.htm 404 0.788 ms - 148
-GET /login.jsp 404 0.845 ms - 148
-GET /doc/index.html 404 0.922 ms - 153
-GET / 404 0.801 ms - 139
-GET / 404 0.818 ms - 139
-GET / 404 0.938 ms - 139
-GET / 404 1.083 ms - 139
-GET / 404 0.872 ms - 139
-GET / 404 0.892 ms - 139
-GET / 404 0.871 ms - 139
-GET /api/.env 404 0.821 ms - 147
-POST /api/.env 404 1.818 ms - 148
-GET /api/index.php/v1/config/application?public=true 404 0.739 ms - 174
+GET /api/session/info 401 8.594 ms - 76
+GET /api/auth/login 302 3.050 ms - 0
+GET /api/auth/google/callback?code=4%2F0AeanS0ao8f60iPWO2lFPG-75VwKyiSOn5kXy7WYogowBYIKp-Rqv0m-ctgybXxfZXLTMFA&scope=email+profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&authuser=1&hd=ajou.ac.kr&prompt=none 302 532.811 ms - 48
+GET /api/session/info 200 7.414 ms - 60
+GET /api/session/info 200 4.780 ms - 60
+GET /api/schedule/all 304 19.397 ms - -
+Performance Measurement - getAllSchedules: 5.005846977233887ms
+GET /api/schedule/289 304 16.458 ms - -
+Performance Measurement - getScheduleByTimeIdx: 11.750297963619232ms
+GET /api/schedule/193 304 7.581 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.6492010354995728ms
+GET /api/schedule/193 304 7.722 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.8008620142936707ms
+GET /api/schedule/193 304 9.777 ms - -
+Performance Measurement - getScheduleByTimeIdx: 4.146169006824493ms
+GET /api/schedule/192 200 8.365 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 4.420195996761322ms
+GET /api/schedule/7 200 7.684 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.8003939986228943ms
+GET /api/schedule/103 304 8.917 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.626570999622345ms
+GET /api/schedule/4 200 7.304 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.7574750185012817ms
+GET /api/schedule/102 304 9.324 ms - -
+Performance Measurement - getScheduleByTimeIdx: 4.2991169691085815ms
+GET /api/schedule/199 200 7.638 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.934753954410553ms
+GET /api/schedule/196 200 7.331 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.7636460065841675ms
+GET /api/schedule/99 304 8.753 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.7125409841537476ms
+GET /api/schedule/99 304 6.852 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.625138998031616ms
+GET /api/schedule/105 200 7.316 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.6936269998550415ms
+GET /api/schedule/2 200 9.041 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.845887005329132ms
+GET /api/schedule/1 200 7.427 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.8853600025177ms
+GET /api/schedule/1 304 7.564 ms - -
+Performance Measurement - getScheduleByTimeIdx: 4.00413304567337ms
+GET /api/session/info 200 4.063 ms - 60
+GET /api/schedule/all 304 6.780 ms - -
+Performance Measurement - getAllSchedules: 2.9270060062408447ms
+GET /api/session/info 200 4.080 ms - 60
+GET /api/session/info 200 14.763 ms - 60
+GET /api/session/info 200 4.001 ms - 60
+GET /api/session/info 200 49.452 ms - 60
+GET /api/session/info 200 16.079 ms - 60
+GET /api/schedule/all 304 51.136 ms - -
+Performance Measurement - getAllSchedules: 3.047551989555359ms
+GET / 404 2.482 ms - 139
+GET /favicon.ico 404 1.030 ms - 150
+GET http://api.ipify.org/?format=json 404 2.130 ms - 139
+GET /geoserver/web/ 404 0.934 ms - 153
+GET /api/session/info 401 1.080 ms - 76
+GET /api/session/info 401 0.698 ms - 76
+GET /api/session/info 401 0.921 ms - 76
+GET /api/session/info 401 0.587 ms - 76
+OPTIONS /api/schedule/all 204 0.404 ms - 0
+OPTIONS /api/schedule/all 204 0.138 ms - 0
+GET / 404 1.220 ms - 139
+GET /api/session/info 401 0.925 ms - 76
+GET /api/session/info 401 0.677 ms - 76
+GET /api/session/info 401 0.849 ms - 76
+GET /api/session/info 401 0.638 ms - 76
+GET /api/session/info 401 0.855 ms - 76
+GET /api/session/info 401 0.648 ms - 76
+GET /api/session/info 401 0.968 ms - 76
+GET /api/session/info 401 0.655 ms - 76
+GET /api/session/info 401 0.887 ms - 76
+GET /api/session/info 401 0.656 ms - 76
+GET /api/session/info 401 0.819 ms - 76
+GET /api/session/info 401 1.715 ms - 76
+GET /api/session/info 401 0.859 ms - 76
+GET /api/session/info 401 0.650 ms - 76
+GET /api/session/info 401 0.920 ms - 76
+GET /api/session/info 401 0.627 ms - 76
+GET /api/session/info 401 0.831 ms - 76
+GET /api/session/info 401 0.645 ms - 76
+GET /api/session/info 401 0.845 ms - 76
+GET /api/session/info 401 0.624 ms - 76
+GET / 404 1.042 ms - 139
+GET /api/session/info 401 0.793 ms - 76
+GET /api/session/info 401 0.580 ms - 76
+GET /api/session/info 401 0.806 ms - 76
+GET /api/session/info 401 0.606 ms - 76
+GET /api/session/info 401 0.829 ms - 76
+GET /api/session/info 401 0.609 ms - 76
+OPTIONS /api/schedule/all 204 0.618 ms - 0
+OPTIONS /api/schedule/all 204 0.140 ms - 0
+GET /api/schedule/all 401 0.903 ms - 44
+GET /api/schedule/96 401 0.846 ms - 44
+GET /api/schedule/194 401 0.764 ms - 44
+GET /api/schedule/194 401 0.868 ms - 44
+GET /api/schedule/97 401 0.827 ms - 44
+GET /api/schedule/96 401 0.850 ms - 44
+OPTIONS /api/schedule/all 204 0.234 ms - 0
+OPTIONS /api/schedule/all 204 0.167 ms - 0
+OPTIONS /api/schedule/192 204 0.192 ms - 0
+OPTIONS /api/schedule/192 204 0.188 ms - 0
+OPTIONS /api/schedule/290 204 0.188 ms - 0
+OPTIONS /api/schedule/290 204 0.189 ms - 0
+OPTIONS /api/schedule/290 204 0.165 ms - 0
+OPTIONS /api/schedule/all 204 0.202 ms - 0
+OPTIONS /api/schedule/289 204 0.194 ms - 0
+OPTIONS /api/schedule/289 204 0.227 ms - 0
+OPTIONS /api/schedule/289 204 0.162 ms - 0
+OPTIONS /api/schedule/290 204 0.166 ms - 0
+OPTIONS /api/schedule/291 204 0.167 ms - 0
+OPTIONS /api/schedule/291 204 0.166 ms - 0
+OPTIONS /api/schedule/290 204 0.160 ms - 0
+OPTIONS /api/schedule/288 204 0.164 ms - 0
+OPTIONS /api/schedule/290 204 0.167 ms - 0
+OPTIONS /api/schedule/291 204 0.205 ms - 0
+OPTIONS /api/schedule/291 204 0.188 ms - 0
+OPTIONS /api/schedule/290 204 0.178 ms - 0
+OPTIONS /api/schedule/289 204 0.168 ms - 0
+OPTIONS /api/schedule/290 204 0.177 ms - 0
+OPTIONS /api/schedule/289 204 0.166 ms - 0
+OPTIONS /api/schedule 204 0.189 ms - 0
+OPTIONS /api/schedule/289 204 0.168 ms - 0
+OPTIONS /api/schedule/288 204 0.222 ms - 0
+OPTIONS /api/schedule/290 204 0.179 ms - 0
+OPTIONS /api/schedule/292 204 0.160 ms - 0
+OPTIONS /api/schedule/293 204 0.165 ms - 0
+OPTIONS /api/schedule/all 204 0.176 ms - 0
+OPTIONS /api/schedule/36 204 0.178 ms - 0
+OPTIONS /api/schedule/38 204 0.161 ms - 0
+OPTIONS /api/schedule/38 204 0.172 ms - 0
+OPTIONS /api/schedule/38 204 0.157 ms - 0
+OPTIONS /api/schedule/38 204 0.191 ms - 0
+OPTIONS /api/schedule/38 204 0.165 ms - 0
+OPTIONS /api/schedule/38 204 0.184 ms - 0
+OPTIONS /api/schedule/38 204 0.168 ms - 0
+OPTIONS /api/schedule/38 204 0.217 ms - 0
+OPTIONS /api/schedule/all 204 0.164 ms - 0
+OPTIONS /api/schedule/36 204 0.165 ms - 0
+OPTIONS /api/schedule/37 204 0.160 ms - 0
+OPTIONS /api/schedule/36 204 0.178 ms - 0
+GET /api/schedule/193 401 1.087 ms - 44
+GET /api/schedule/193 401 0.785 ms - 44
+GET /api/schedule/195 401 0.850 ms - 44
+GET /api/schedule/1 401 0.814 ms - 44
+GET /api/schedule/0 401 0.795 ms - 44
+GET /api/schedule/0 401 0.825 ms - 44
+GET /api/schedule/96 401 0.854 ms - 44
+GET /api/schedule/289 401 0.824 ms - 44
+GET /api/session/info 401 0.858 ms - 76
+GET /api/auth/login 302 1.424 ms - 0
+GET /api/auth/google/callback?code=4%2F0AeanS0a4gqvuMrxTHLniakI-_oHdDI0RHY_4-82ZXsaIAKdM53z4nPcgFGUOJjD4FJwRBw&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=1&hd=ajou.ac.kr&prompt=none 302 508.556 ms - 48
+GET /api/schedule/all 304 11.134 ms - -
+Performance Measurement - getAllSchedules: 5.014769017696381ms
+GET /api/schedule/97 304 10.607 ms - -
+Performance Measurement - getScheduleByTimeIdx: 7.154272973537445ms
+GET /api/schedule/101 200 6.849 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.534310042858124ms
+GET /api/schedule/100 200 6.679 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.2747740149497986ms
+GET /api/schedule/99 304 7.228 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.805077016353607ms
+GET /api/schedule/99 304 9.589 ms - -
+Performance Measurement - getScheduleByTimeIdx: 5.2810059785842896ms
+GET /api/schedule/99 304 6.405 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.1567789912223816ms
+GET /api/schedule/98 304 7.002 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.5950030088424683ms
+GET /api/schedule/97 304 6.705 ms - -
+Performance Measurement - getScheduleByTimeIdx: 3.2245330214500427ms
+GET /api/schedule/97 304 6.217 ms - -
+Performance Measurement - getScheduleByTimeIdx: 2.99965101480484ms
+GET /api/schedule/2 200 6.568 ms - 26
+Performance Measurement - getScheduleByTimeIdx: 3.2004200220108032ms
+OPTIONS /api/schedule/all 204 0.166 ms - 0
+OPTIONS /api/schedule 204 0.174 ms - 0
+OPTIONS /api/schedule 204 0.179 ms - 0
+OPTIONS /api/schedule 204 0.232 ms - 0
+OPTIONS /api/schedule/all 204 0.164 ms - 0
+OPTIONS /api/schedule/all 204 0.167 ms - 0
+GET / 404 1.022 ms - 139
+GET /api/session/info 401 0.816 ms - 76
+GET /api/session/info 401 1.325 ms - 76
+GET /api/session/info 401 0.832 ms - 76
+GET /api/session/info 401 0.603 ms - 76
+GET /api/session/info 401 0.819 ms - 76
+GET /api/session/info 401 0.556 ms - 76
+OPTIONS /api/schedule/all 204 0.161 ms - 0
+OPTIONS /api/schedule/all 204 0.124 ms - 0
+OPTIONS /api/schedule 204 0.164 ms - 0
+GET /api/session/info 401 0.837 ms - 76
+GET /api/session/info 401 0.648 ms - 76
+GET /api/session/info 401 0.810 ms - 76
+GET /api/auth/login 302 1.089 ms - 0
+GET /api/auth/google/callback?code=4%2F0AeanS0box5WHb-IhXbrmGgpDAMMr3rQ5vv45X8p-FJJM90Ts4qDwFayGUeisJmPZIsW9ew&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&hd=ajou.ac.kr&prompt=none 302 478.464 ms - 48
+GET /api/session/info 200 7.699 ms - 58
+GET /api/schedule/all 200 6.802 ms - 40
+Performance Measurement - getAllSchedules: 3.283160984516144ms
+POST /api/schedule 201 33.080 ms - 194
+Performance Measurement - createSchedule: 19.97666096687317ms
+PUT /api/schedule 200 44.680 ms - 202
+Performance Measurement - updateSchedules: 28.161078989505768ms
+Performance Measurement - deleteSchedules: 2.5363460183143616ms
+DELETE /api/schedule 404 7.058 ms - 115
+Performance Measurement - deleteSchedules: 0.8580690026283264ms
+DELETE /api/schedule 404 5.339 ms - 115
+Performance Measurement - deleteSchedules: 0.5973520278930664ms
+DELETE /api/schedule 404 5.281 ms - 115
+GET /api/schedule/all 200 38.467 ms - 205
+Performance Measurement - getAllSchedules: 12.194466054439545ms
+DELETE /api/schedule 200 14.795 ms - 84
+Performance Measurement - deleteSchedules: 10.980576992034912ms
+GET /api/schedule/all 200 5.511 ms - 40
+Performance Measurement - getAllSchedules: 2.713946044445038ms
+GET /api/session/info 200 50.557 ms - 58
+GET / 404 1.050 ms - 139
diff --git a/routes/session.js b/routes/session.js
index 09178cf..803e2ff 100644
--- a/routes/session.js
+++ b/routes/session.js
@@ -3,9 +3,11 @@ const router = express.Router();
 
 // GET /api/session/info
 router.get('/info', (req, res) => {
-  if (req.session && req.session.user) {
-    const { email, name } = req.session.user;
-
+  if (req.user) {
+    const { email, name } = req.user;
+  // 罹먯떛 鍮꾪솢�깊솕
+    res.set('Cache-Control', 'no-store');
+    res.set('Pragma', 'no-cache');	  
     return res.status(200).json({
       user: {
         email,
@@ -13,8 +15,9 @@ router.get('/info', (req, res) => {
       },
     });
   }
-
   // �몄뀡�� 留뚮즺�섏뿀嫄곕굹 �ъ슜�� �뺣낫媛� �녿뒗 寃쎌슦
+  res.set('Cache-Control', 'no-store');
+  res.set('Pragma', 'no-cache');
   res.status(401).json({
     message: '�몄뀡�� 留뚮즺�섏뿀嫄곕굹 �ъ슜�� �뺣낫媛� �놁뒿�덈떎.',
   });
diff --git a/weblog.log b/weblog.log
index 4038042..6725a76 100644
--- a/weblog.log
+++ b/weblog.log
@@ -1,5 +1,5 @@
-(node:77052) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
+(node:182037) [MONGODB DRIVER] Warning: useNewUrlParser is a deprecated option: useNewUrlParser has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
 (Use `node --trace-warnings ...` to show where the warning was created)
-(node:77052) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
+(node:182037) [MONGODB DRIVER] Warning: useUnifiedTopology is a deprecated option: useUnifiedTopology has no effect since Node.js Driver version 4.0.0 and will be removed in the next major version
 MongoDB�� �깃났�곸쑝濡� �곌껐�섏뿀�듬땲��.
 WebSocket 梨꾪똿 �쒕쾭媛� 8081 �ы듃�먯꽌 �ㅽ뻾 以묒엯�덈떎.
-- 
GitLab