diff --git a/src/app/components/stats.tsx b/src/app/components/stats.tsx index d917465..ac472d9 100644 --- a/src/app/components/stats.tsx +++ b/src/app/components/stats.tsx @@ -20,7 +20,7 @@ const stats: Stat[] = [ ]; export function Stats(): ReactElement { - const { lastMessage, readyState } = useWebSocket("https://api.mcutils.xyz/websocket/metrics"); + const { lastMessage, readyState } = useWebSocket("wss://api.mcutils.xyz/websocket/metrics"); const metrics = lastMessage !== null ? JSON.parse(lastMessage.data).metrics : undefined; return (