diff --git a/public/config.json b/public/config.json index b846d1b500f1605e6c9277d6eaf1bddec2f062ff..c6e0925f58f00099ca2d2adbd2758b250f429030 100644 --- a/public/config.json +++ b/public/config.json @@ -5,5 +5,6 @@ "header": { "title": "Chatterbox Test Room", "avatar": "https://i.picsum.photos/id/907/200/200.jpg?hmac=SdeLZNONJ3CX-OB15hSXsCheWDC6yYac5N5VUJM7FIQ" - } + }, + "token": "k9SL1R~GcdbjiFjC" } diff --git a/src/types/IChatterboxConfig.ts b/src/types/IChatterboxConfig.ts index d80f5ff78b08b068cb7926c5798e7ac233f81e3d..789fcc58cdd0676a79d56539a13e3f5c8bcb3caa 100644 --- a/src/types/IChatterboxConfig.ts +++ b/src/types/IChatterboxConfig.ts @@ -6,6 +6,8 @@ export interface IChatterboxConfig { username_prefix: string; // Configurations for header on chatterbox (containing title, avatar, minimize button) header: IHeader; + // Token needed for token-authenticated registration + token: string; } interface IHeader {