From cb69ee3925ef0715895295047cf31c8e76732296 Mon Sep 17 00:00:00 2001 From: Vedal Date: Tue, 11 Jun 2024 21:31:36 +0100 Subject: [PATCH] Fix latin-1 encoding --- ebs/src/modules/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebs/src/modules/config.ts b/ebs/src/modules/config.ts index 307318a..1e31748 100644 --- a/ebs/src/modules/config.ts +++ b/ebs/src/modules/config.ts @@ -40,7 +40,7 @@ export async function getConfig(): Promise { export async function broadcastConfigRefresh(config: Config) { return sendPubSubMessage({ type: "config_refreshed", - data: strFromU8(compressSync(strToU8(JSON.stringify(config), true))), + data: strFromU8(compressSync(strToU8(JSON.stringify(config))), true), }); }