trust proxy 추가
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ io.on('connection', (socket) => {
|
|||||||
|
|
||||||
// 전역 Socket.IO 인스턴스 설정
|
// 전역 Socket.IO 인스턴스 설정
|
||||||
app.set('io', io);
|
app.set('io', io);
|
||||||
|
app.set('trust proxy', 1);
|
||||||
// 치명적 예외/비동기 에러 글로벌 로그
|
// 치명적 예외/비동기 에러 글로벌 로그
|
||||||
process.on('uncaughtException', (err) => {
|
process.on('uncaughtException', (err) => {
|
||||||
console.error('[FATAL] Uncaught Exception:', err);
|
console.error('[FATAL] Uncaught Exception:', err);
|
||||||
|
|||||||
Reference in New Issue
Block a user