Skip to content

Commit 73f2212

Browse files
committed
Put uploads folder in public
1 parent 7dcaccf commit 73f2212

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ $RECYCLE.BIN/
111111
lib/
112112
/data/
113113
/tmp/
114-
/uploads/
114+
/public/uploads/
115115
rethinkdb_data
116116
.env
117117
/config/local.json

server/services/uploads/uploads.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const blobService = require('feathers-blob');
99
// but you can use feathers-blob with any other
1010
// storage service like AWS or Google Drive.
1111
const fs = require('fs-blob-store');
12-
const blobStorage = fs(__dirname + '/../../../uploads');
12+
const blobStorage = fs(__dirname + '/../../../public/uploads');
1313

1414
// For Multipart Uploads
1515
const multer = require('multer');

0 commit comments

Comments
 (0)