Faviconを可変にするなど

This commit is contained in:
syuilo 2019-03-14 16:30:51 +09:00
parent d762a6ce58
commit 6ceff60c1e
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
5 changed files with 25 additions and 5 deletions

View file

@ -69,6 +69,13 @@ export const meta = {
}
},
iconUrl: {
validator: $.optional.nullable.str,
desc: {
'ja-JP': 'インスタンスのアイコンURL'
}
},
name: {
validator: $.optional.nullable.str,
desc: {
@ -356,6 +363,10 @@ export default define(meta, async (ps) => {
set.bannerUrl = ps.bannerUrl;
}
if (ps.iconUrl !== undefined) {
set.iconUrl = ps.iconUrl;
}
if (ps.name !== undefined) {
set.name = ps.name;
}