Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

pass version to config route

daniel31x13d044a6cbba68
diff --git a/pages/api/v1/config/index.ts b/pages/api/v1/config/index.ts
index 3c0035eb..f6d00507 100644
--- a/pages/api/v1/config/index.ts
+++ b/pages/api/v1/config/index.ts
@@ -21,5 +21,6 @@ export const getEnvData = () => {
EMAIL_PROVIDER: process.env.NEXT_PUBLIC_EMAIL_PROVIDER === "true" || null,
MAX_FILE_BUFFER: Number(process.env.NEXT_PUBLIC_MAX_FILE_BUFFER) || null,
AI_ENABLED: hasAiProvider || null,
+ INSTANCE_VERSION: process.env.version,
};
};