From 30ba6b4cb8b4a960fc281dfea0150980ce88b5ec Mon Sep 17 00:00:00 2001 From: FawenYo Date: Fri, 28 Jun 2024 20:57:16 +0800 Subject: [PATCH] Fix JSON load error --- server/src/modules/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/modules/auth.ts b/server/src/modules/auth.ts index 39e6431c..81967912 100644 --- a/server/src/modules/auth.ts +++ b/server/src/modules/auth.ts @@ -55,7 +55,7 @@ export class Auth { //console.log("initialize Local Auth"); try { - const b = Buffer.from(process.env.KUBERO_USERS as string, 'base64').toString('ascii') + const b = process.env.KUBERO_USERS as string this.users = JSON.parse(b); } catch (error) { console.log("ERROR loading local Users");