Skip to content

Commit

Permalink
metaでmaxFileSizeを非表示に
Browse files Browse the repository at this point in the history
  • Loading branch information
4ster1sk committed Sep 2, 2024
1 parent b764dd5 commit 874f019
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/backend/src/core/entities/MetaEntityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export class MetaEntityService {
mediaProxy: this.config.mediaProxy,
enableUrlPreview: instance.urlPreviewEnabled,
noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local',
maxFileSize: this.config.maxFileSize,
};

return packed;
Expand Down
4 changes: 0 additions & 4 deletions packages/backend/src/models/json-schema/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,6 @@ export const packedMetaLiteSchema = {
optional: false, nullable: false,
default: 'local',
},
maxFileSize: {
type: 'number',
optional: false, nullable: false,
},
},
} as const;

Expand Down

0 comments on commit 874f019

Please sign in to comment.