This commit is contained in:
2025-06-30 19:00:30 +01:00
parent eb35a62523
commit 11bc06cdc5

View File

@ -1,5 +1,6 @@
// place files you want to import through the `$lib` alias in this folder.
import { building } from "$app/environment";
import { createTwitchClient } from "./twitch";
type WLEDAPI = {
@ -63,6 +64,9 @@ export const createLedClient = (_addr: string) => {
};
export const twitchClient = createTwitchClient();
twitchClient.subscribeToFollow();
if (!building) {
twitchClient.subscribeToFollow();
}
export const client = createLedClient("192.168.1.215");