feat: Remove attachments from public access

Closes #219
This commit is contained in:
Maksim Eltyshev
2022-04-26 22:20:20 +05:00
parent 7ef55ec578
commit 7d138b858d
10 changed files with 156 additions and 19 deletions
+1 -1
View File
@@ -26,6 +26,6 @@ module.exports.custom = {
projectBackgroundImagesPath: path.join(sails.config.paths.public, 'project-background-images'),
projectBackgroundImagesUrl: `${process.env.BASE_URL}/project-background-images`,
attachmentsPath: path.join(sails.config.paths.public, 'attachments'),
attachmentsPath: path.join(sails.config.appPath, 'private', 'attachments'),
attachmentsUrl: `${process.env.BASE_URL}/attachments`,
};