Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

Commit

Permalink
Moved static routes to their own file
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Feb 16, 2017
1 parent 4b00048 commit e3369a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions routes/05-static-routes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var express = require('express');

module.exports = function(app, config) {
app.use('/patientimages', express.static(config.imagesdir));
app.use('/attachments', express.static(config.attachmentsDir));
};

0 comments on commit e3369a9

Please sign in to comment.