Bug Fixes
This commit is contained in:
@@ -43,7 +43,7 @@ const path = __webpack_require__(1017);
|
||||
return null;
|
||||
}
|
||||
const relativePath = isPrivate ? `@/${video ? "videos" : "media"}/${folder ? folder + "/" : ""}` : video ? `/videos/user-videos/user-${userId}/${folder ? folder + "/" : ""}` : `/images/user-images/user-${userId}/${folder ? folder + "/" : ""}`;
|
||||
const fileRootPath = isPrivate ? `./jsonData/dbSchemas/users/user-${userId}/media/${folder ? folder + "/" : ""}` : path.join(STATIC_ROOT, relativePath);
|
||||
const fileRootPath = isPrivate ? `${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${userId}/media/${folder ? folder + "/" : ""}` : path.join(STATIC_ROOT, relativePath);
|
||||
if (!fs.existsSync(fileRootPath) && !pathOnly) {
|
||||
fs.mkdirSync(fileRootPath, {
|
||||
recursive: true
|
||||
@@ -718,7 +718,7 @@ module.exports = require("path");
|
||||
var __webpack_require__ = require("../../../../webpack-runtime.js");
|
||||
__webpack_require__.C(exports);
|
||||
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
||||
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,5449,5304,913,9395,370,424,4858,5472,1781,8345,6718,7946,6390], () => (__webpack_exec__(3947)));
|
||||
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,5449,913,4480,370,424,4858,5472,1781,8345,6718,7946,6390], () => (__webpack_exec__(3947)));
|
||||
module.exports = __webpack_exports__;
|
||||
|
||||
})();
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user