diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue
index 4e7d59b8e..6fd92a779 100644
--- a/src/client/app/admin/views/instance.vue
+++ b/src/client/app/admin/views/instance.vue
@@ -6,7 +6,7 @@
{{ $t('host') }}
{{ $t('instance-name') }}
{{ $t('instance-description') }}
- {{ $t('logo-url') }}
+ {{ $t('logo-url') }}
{{ $t('banner-url') }}
{{ $t('error-image-url') }}
{{ $t('languages') }}{{ $t('languages-desc') }}
@@ -150,7 +150,7 @@ export default Vue.extend({
maintainerEmail: null,
disableRegistration: false,
disableLocalTimeline: false,
- logoUrl: null,
+ mascotImageUrl: null,
bannerUrl: null,
errorImageUrl: null,
name: null,
@@ -198,7 +198,7 @@ export default Vue.extend({
this.maintainerEmail = meta.maintainer.email;
this.disableRegistration = meta.disableRegistration;
this.disableLocalTimeline = meta.disableLocalTimeline;
- this.logoUrl = meta.logoUrl;
+ this.mascotImageUrl = meta.mascotImageUrl;
this.bannerUrl = meta.bannerUrl;
this.errorImageUrl = meta.errorImageUrl;
this.name = meta.name;
@@ -256,7 +256,7 @@ export default Vue.extend({
maintainerEmail: this.maintainerEmail,
disableRegistration: this.disableRegistration,
disableLocalTimeline: this.disableLocalTimeline,
- logoUrl: this.logoUrl,
+ mascotImageUrl: this.mascotImageUrl,
bannerUrl: this.bannerUrl,
errorImageUrl: this.errorImageUrl,
name: this.name,
diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue
index 0aa864546..88a11eafa 100644
--- a/src/client/app/desktop/views/pages/welcome.vue
+++ b/src/client/app/desktop/views/pages/welcome.vue
@@ -35,7 +35,7 @@
{{ $t('signin') }}
-
+
diff --git a/src/misc/fetch-meta.ts b/src/misc/fetch-meta.ts
index 138646e88..e6488da39 100644
--- a/src/misc/fetch-meta.ts
+++ b/src/misc/fetch-meta.ts
@@ -19,7 +19,7 @@ const defaultMeta: any = {
enableExternalUserRecommendation: false,
externalUserRecommendationEngine: 'https://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-misskey-api.cgi?{{host}}+{{user}}+{{limit}}+{{offset}}',
externalUserRecommendationTimeout: 300000,
- logoUrl: '/assets/ai.png',
+ mascotImageUrl: '/assets/ai.png',
errorImageUrl: 'https://ai.misskey.xyz/aiart/yubitun.png',
enableServiceWorker: false
};
diff --git a/src/models/meta.ts b/src/models/meta.ts
index b68ec43f1..daa7964d6 100644
--- a/src/models/meta.ts
+++ b/src/models/meta.ts
@@ -185,7 +185,7 @@ export type IMeta = {
disableRegistration?: boolean;
disableLocalTimeline?: boolean;
hidedTags?: string[];
- logoUrl?: string;
+ mascotImageUrl?: string;
bannerUrl?: string;
errorImageUrl?: string;
diff --git a/src/server/api/endpoints/admin/update-meta.ts b/src/server/api/endpoints/admin/update-meta.ts
index f84192792..cf117ebd7 100644
--- a/src/server/api/endpoints/admin/update-meta.ts
+++ b/src/server/api/endpoints/admin/update-meta.ts
@@ -39,10 +39,10 @@ export const meta = {
}
},
- logoUrl: {
+ mascotImageUrl: {
validator: $.str.optional.nullable,
desc: {
- 'ja-JP': 'インスタンスロゴ画像のURL'
+ 'ja-JP': 'インスタンスキャラクター画像のURL'
}
},
@@ -335,8 +335,8 @@ export default define(meta, (ps) => new Promise(async (res, rej) => {
set.hidedTags = ps.hidedTags;
}
- if (ps.logoUrl !== undefined) {
- set.logoUrl = ps.logoUrl;
+ if (ps.mascotImageUrl !== undefined) {
+ set.mascotImageUrl = ps.mascotImageUrl;
}
if (ps.bannerUrl !== undefined) {
diff --git a/src/server/api/endpoints/meta.ts b/src/server/api/endpoints/meta.ts
index 641c7728f..fa933513b 100644
--- a/src/server/api/endpoints/meta.ts
+++ b/src/server/api/endpoints/meta.ts
@@ -65,7 +65,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
enableRecaptcha: instance.enableRecaptcha,
recaptchaSiteKey: instance.recaptchaSiteKey,
swPublickey: instance.swPublicKey,
- logoUrl: instance.logoUrl,
+ mascotImageUrl: instance.mascotImageUrl,
bannerUrl: instance.bannerUrl,
errorImageUrl: instance.errorImageUrl,
maxNoteTextLength: instance.maxNoteTextLength,