Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

katex_server: Use wildcard import for prom-client.

Anders Kaseorgdb4e9488f964
diff --git a/web/server/katex_server.ts b/web/server/katex_server.ts
index b146551b04c..2b9736fe3d2 100644
--- a/web/server/katex_server.ts
+++ b/web/server/katex_server.ts
@@ -3,7 +3,7 @@ import crypto from "node:crypto";
import {bodyParser} from "@koa/bodyparser";
import katex from "katex";
import Koa from "koa";
-import Prometheus from "prom-client";
+import * as Prometheus from "prom-client";
const host = "localhost";
const port = Number(process.argv[2] ?? "9700");