URLプレビューのサムネイルを隠す機能を追加 (MisskeyIO#214)
This commit is contained in:
parent
f229e26312
commit
ec5e1df9f5
11 changed files with 76 additions and 1 deletions
|
@ -298,6 +298,14 @@ export const meta = {
|
|||
type: 'number',
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
urlPreviewDenyList: {
|
||||
type: 'array',
|
||||
optional: true, nullable: false,
|
||||
items: {
|
||||
type: 'string',
|
||||
optional: false, nullable: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
@ -404,6 +412,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
perRemoteUserUserTimelineCacheMax: instance.perRemoteUserUserTimelineCacheMax,
|
||||
perUserHomeTimelineCacheMax: instance.perUserHomeTimelineCacheMax,
|
||||
perUserListTimelineCacheMax: instance.perUserListTimelineCacheMax,
|
||||
urlPreviewDenyList: instance.urlPreviewDenyList,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue