Skip to content

Commit

Permalink
Test \ 를 이용한 LB 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
unchaptered committed Oct 2, 2022
1 parent 289ada5 commit 0b167b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ export default class App {
}
}
});
this.app.all("*", (req, res) => {
return res.json({
url: req.url,
baseUrl: req.baseUrl,
port: PORT,
});
});

process.on("SIGINT", () => {
console.log("SIGINT signal");
this.isAppGoingToBeClosed = true;
Expand Down

0 comments on commit 0b167b6

Please sign in to comment.