Skip to content

Commit

Permalink
Merge pull request #196 from boostcampwm-2024/feature-be-#195
Browse files Browse the repository at this point in the history
[BE] signaling, voice 서버 health-check API 엔드포인트 생성
  • Loading branch information
dev-taewon-kim authored Nov 28, 2024
2 parents f26b40d + e7b6a3e commit d4eb2b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions be/signalingServer/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const config = require("./config/app.config");
const SocketService = require("./services/socket.service");

const app = express();
app.get("/health-check", (req, res) => res.status(200).send("Healthy"));

const httpServer = createServer(app);
const io = new Server(httpServer, {
Expand Down
1 change: 1 addition & 0 deletions be/voiceProcessingServer/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ if (cluster.isMaster) {
const REDIS_ROOM_KEY_EXPIRE_TIME = process.env.REDIS_ROOM_KEY_EXPIRE_TIME;

const app = express();
app.get("/health-check", (req, res) => res.status(200).send("Healthy"));
const server = http.createServer(app);

// Redis pub/sub clients for Socket.IO adapter
Expand Down

0 comments on commit d4eb2b6

Please sign in to comment.