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
Add ip in server config output
Hakan Shehud778db604004
diff --git a/apps/server/src/controllers/client/config/index.ts b/apps/server/src/controllers/client/config/index.tsindex 60904a50..c31b811b 100644--- a/apps/server/src/controllers/client/config/index.ts+++ b/apps/server/src/controllers/client/config/index.ts@@ -11,6 +11,7 @@ export const configGetHandler = async (name: SERVER_NAME || 'Colanode',avatar: SERVER_AVATAR || '',version: '0.1.0',+ ip: res.locals.ip,attributes: {},};diff --git a/packages/core/src/types/servers.ts b/packages/core/src/types/servers.tsindex 34bce4a6..90832b05 100644--- a/packages/core/src/types/servers.ts+++ b/packages/core/src/types/servers.ts@@ -3,6 +3,7 @@ export type ServerConfig = {avatar: string;version: string;attributes: ServerAttributes;+ ip: string | null | undefined;};export type ServerAttributes = Record<string, unknown>;