provider-upload-cloudimage
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,3 +11,6 @@ 'use strict'; | ||
init(config) { | ||
const uploadPath = path.resolve(strapi.dirs.static.public, UPLOADS_FOLDER_NAME); | ||
const publicPath = strapi.dirs.public | ||
? strapi.dirs.public | ||
: strapi.dirs.static.public; // To accomodate for Strapi v4.3.x | ||
const uploadPath = path.resolve(publicPath, UPLOADS_FOLDER_NAME); | ||
@@ -14,0 +17,0 @@ const getConfigs = async () => |
{ | ||
"name": "provider-upload-cloudimage", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Strapi v4 upload provider for Cloudimage by Scaleflex", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
5288
67