mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
fix: update copy to reflect real default value of 2000px for resizeImageWidthThreshold
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"private-extensions": "File extensions to make private",
|
||||
"private-uploads-extensions-help": "Enter comma-separated list of file extensions to make private here (e.g. <code>pdf,xls,doc</code>). An empty list means all files are private.",
|
||||
"resize-image-width-threshold": "Resize images if they are wider than specified width",
|
||||
"resize-image-width-threshold-help": "(in pixels, default: 1520 pixels, set to 0 to disable)",
|
||||
"resize-image-width-threshold-help": "(in pixels, default: 2000 pixels, set to 0 to disable)",
|
||||
"resize-image-width": "Resize images down to specified width",
|
||||
"resize-image-width-help": "(in pixels, default: 760 pixels, set to 0 to disable)",
|
||||
"resize-image-quality": "Quality to use when resizing images",
|
||||
|
||||
@@ -161,7 +161,7 @@ describe('Upload Controllers', () => {
|
||||
assert(body.response.images[0].url);
|
||||
assert(body.response.images[0].url.match(/\/assets\/uploads\/files\/\d+-test-resized\.png/));
|
||||
meta.config.resizeImageWidth = oldValue;
|
||||
meta.config.resizeImageWidthThreshold = 1520;
|
||||
meta.config.resizeImageWidthThreshold = 2000;
|
||||
});
|
||||
|
||||
it('should upload a file to a post', async () => {
|
||||
|
||||
Reference in New Issue
Block a user