spec(frontend): aboutページにリポジトリ・フィードバックのURLを表示させる (MisskeyIO#438)

This commit is contained in:
まっちゃとーにゅ
2024-02-12 07:53:27 +09:00
committed by GitHub
parent 0d5ddc2406
commit 94f5d47e46
8 changed files with 71 additions and 5 deletions

View File

@@ -104,8 +104,8 @@ export const paramDef = {
swPublicKey: { type: 'string', nullable: true },
swPrivateKey: { type: 'string', nullable: true },
tosUrl: { type: 'string', nullable: true },
repositoryUrl: { type: 'string' },
feedbackUrl: { type: 'string' },
repositoryUrl: { type: 'string', nullable: true },
feedbackUrl: { type: 'string', nullable: true },
impressumUrl: { type: 'string', nullable: true },
privacyPolicyUrl: { type: 'string', nullable: true },
useObjectStorage: { type: 'boolean' },
@@ -437,7 +437,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
if (ps.repositoryUrl !== undefined) {
set.repositoryUrl = ps.repositoryUrl;
set.repositoryUrl = ps.repositoryUrl ?? 'https://github.com/misskey-dev/misskey';
}
if (ps.feedbackUrl !== undefined) {