Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Fix JSON parsing in build info retrieval in server configuration (#36)
Ylber Gashi47e5bed3a462
diff --git a/apps/server/src/lib/config/server.ts b/apps/server/src/lib/config/server.tsindex a5b6b3fc..a4ada313 100644--- a/apps/server/src/lib/config/server.ts+++ b/apps/server/src/lib/config/server.ts@@ -28,7 +28,7 @@ const parseBuildInfo = (): BuildInfo => {}try {- return buildInfoSchema.parse(json);+ return buildInfoSchema.parse(JSON.parse(json));} catch (error) {console.error('Failed to parse build info:', error);return defaultBuildInfo;