aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/main.js b/server/main.js
index bdcf9a4..e6f5558 100644
--- a/server/main.js
+++ b/server/main.js
@@ -21,5 +21,6 @@ require('./config/passport');
app.use(passport.initialize());
app.use('/api', apiRoutes);
+app.use('/api/uploads', express.static('uploads'));
app.listen(port, () => console.log(`Server started on port ${port}.`));