Skip to content

Commit

Permalink
fix(images): profile images not displaying in new email templats
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Feb 6, 2019
1 parent 35e6abd commit e89f2f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ module.exports = function (app, db, callback) {
app.use('/mobile', express.static(path.join(__dirname, '../../', 'mobile')))

app.use('/assets', express.static(path.join(__dirname, '../../public/uploads/assets')))
app.use('/uploads/users', express.static(path.join(__dirname, '../../public/uploads/users')))
app.use('/uploads', middleware.hasAuth, express.static(path.join(__dirname, '../../public/uploads')))
app.use(
'/backups',
Expand Down

0 comments on commit e89f2f8

Please sign in to comment.