Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohaodu committed Jun 2, 2024
1 parent ae38359 commit bd8e0ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web-chat-x-express/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ app.use(morgan("combined"));
import client from "prom-client";
app.get("/metrics", async (_, res) => {
return res
.send(await client.register.metrics())
.type(client.register.contentType);
.type(client.register.contentType)
.send(await client.register.metrics());
});
const server = app.listen(port, () => {
console.log(`webrtc-peer-express app listen on http://localhost:${port}`);
Expand Down

0 comments on commit bd8e0ef

Please sign in to comment.