@strapi/provider-upload-local 4.2.0-beta.4 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -22,7 +22,7 @@ module.exports = {
22
22
  };
23
23
 
24
24
  // Ensure uploads folder exists
25
- const uploadPath = path.resolve(strapi.dirs.static.public, UPLOADS_FOLDER_NAME);
25
+ const uploadPath = path.resolve(strapi.dirs.public, UPLOADS_FOLDER_NAME);
26
26
  if (!fse.pathExistsSync(uploadPath)) {
27
27
  throw new Error(
28
28
  `The upload folder (${uploadPath}) doesn't exist or is not accessible. Please make sure it exists.`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/provider-upload-local",
3
- "version": "4.2.0-beta.4",
3
+ "version": "4.2.2",
4
4
  "description": "Local provider for strapi upload",
5
5
  "keywords": [
6
6
  "upload",
@@ -35,12 +35,12 @@
35
35
  "test": "echo \"no tests yet\""
36
36
  },
37
37
  "dependencies": {
38
- "@strapi/utils": "4.2.0-beta.4",
38
+ "@strapi/utils": "4.2.2",
39
39
  "fs-extra": "10.0.0"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=14.19.1 <=16.x.x",
43
43
  "npm": ">=6.0.0"
44
44
  },
45
- "gitHead": "5caff35a30e33b7a660eb946299f9e3d2d35b2b8"
45
+ "gitHead": "376ff3133c13f6eb10d0c90f4b5eb701592aff97"
46
46
  }