From 23bea273f652a05895e5848867f13386113b6a38 Mon Sep 17 00:00:00 2001 From: Andi Rueckel Date: Thu, 18 Apr 2024 11:16:18 +0200 Subject: [PATCH] update config.example.js with localStorage and templates object --- config.example.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/config.example.js b/config.example.js index 526aaadb..2fbe1884 100644 --- a/config.example.js +++ b/config.example.js @@ -6,7 +6,7 @@ module.exports = { allowCustomHomeserver: true, }, etherpad: { - // important: path has to start with "/" + /* @NOTE: path has to start with "/" */ path: '/write', baseUrl: 'https://pad.riseup.net/p', // myPads: { @@ -18,12 +18,32 @@ module.exports = { // path: '/sketch', // baseUrl: 'http://spacedeck.localhost', // }, + // tldraw: { + // path: '/draw', + // }, }, - // contextRootSpaceRoomId: '!gB.....Ewlvdq:matrix.org', account: { allowAddingNewEmails: true, }, chat: { pathToElement: '//localhost/element', }, + // contextRootSpaceRoomId: '!gB.....Ewlvdq:matrix.org', + /* @NOTE: clear(!) client-side localStorage if value defined in `versionToken` is */ + /* *not_equal* to value stored in or does *not_exist* in client-side localStorage */ + // localStorage: { + // clearAfterUpgrade: true, + // versionToken: "1", + // }, + templates: { + // context: [ + // "context", + // ], + item: [ + 'etherpad', + // 'spacedeck', + // 'tldraw', + 'link', + ], + }, };