feat: インスタンスのテーマカラーを設定できるように
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user