Skip to content

Commit

Permalink
ec2 version ecr
Browse files Browse the repository at this point in the history
  • Loading branch information
bakgom123 committed Dec 12, 2024
1 parent d3dcac6 commit c795d92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ app.use(
}),
);

app.use((req, res, next) => {
console.log(`[${new Date().toISOString()}] ${req.method} ${req.url}`);
next();
});

// 정적 파일 제공 설정
// CORS 헤더가 포함된 uploads 디렉토리 접근 설정
app.use(
Expand Down

0 comments on commit c795d92

Please sign in to comment.