From 6184961153a9660259f027d2b64271a1bb580d92 Mon Sep 17 00:00:00 2001 From: sup39 Date: Sat, 11 May 2024 18:20:01 +0800 Subject: [PATCH] chore: change settings for supnas --- config.json | 13 ++++--------- index.html | 3 ++- public/manifest.json | 4 ++-- public/mx-uc.css | 4 ++++ vite.config.js | 4 ++++ 5 files changed, 16 insertions(+), 12 deletions(-) create mode 100644 public/mx-uc.css diff --git a/config.json b/config.json index 484c7cd..6ebace9 100644 --- a/config.json +++ b/config.json @@ -1,15 +1,10 @@ { - "defaultHomeserver": 2, + "defaultHomeserver": 0, "homeserverList": [ - "converser.eu", - "envs.net", - "matrix.org", - "monero.social", - "mozilla.org", - "xmr.se" + "chat.naskya.net", + "chat.sup39.dev" ], - "allowCustomHomeservers": true, - + "allowCustomHomeservers": false, "hashRouter": { "enabled": false, "basename": "/" diff --git a/index.html b/index.html index af2952d..bd37232 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Cinny + Cinny@さぽなす + diff --git a/public/manifest.json b/public/manifest.json index acdcd00..ea900a1 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { - "name": "Cinny", + "name": "Cinny@さぽなす", "short_name": "Cinny", - "description": "Yet another matrix client", + "description": "Yet another matrix client for supnas", "dir": "auto", "lang": "en-US", "display": "standalone", diff --git a/public/mx-uc.css b/public/mx-uc.css new file mode 100644 index 0000000..27e53cd --- /dev/null +++ b/public/mx-uc.css @@ -0,0 +1,4 @@ +:root { + --mx-uc--sup39-chat_sup39_dev: #2EE5B8; + --mx-uc--naskya-chat_naskya_net: #F25A85; +} diff --git a/vite.config.js b/vite.config.js index c81e96d..40ce848 100644 --- a/vite.config.js +++ b/vite.config.js @@ -35,6 +35,10 @@ const copyFiles = { src: 'public/res/android', dest: 'public/', }, + { + src: 'public/mx-uc.css', + dest: '', + }, { src: 'twemoji/assets/svg/*', dest: 'twemoji/',