1
0

feat: インスタンスのテーマカラーを設定できるように

This commit is contained in:
syuilo
2022-02-09 21:25:48 +09:00
parent 624aef6979
commit 4ae1a65958
10 changed files with 57 additions and 2 deletions
@@ -9,6 +9,7 @@ module.exports = async (ctx: Koa.Context) => {
json.short_name = instance.name || 'Misskey';
json.name = instance.name || 'Misskey';
if (instance.themeColor) json.theme_color = instance.themeColor;
ctx.set('Cache-Control', 'max-age=300');
ctx.body = json;