Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 0d991b8

Browse files
author
Matteus
committed
Added toLocaleString
1 parent 95ab2c9 commit 0d991b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ server.get("/", async (req, res) => {
5858
const format = {
5959
label: label ?? "Visitors",
6060
color: color ?? "green",
61-
message: User?.views,
61+
message: (parseInt(User?.views)).toLocaleString("en"),
6262
style: style ?? "flat",
6363
}
6464

0 commit comments

Comments
 (0)