Skip to content

Commit

Permalink
Merge pull request #138 from GeographicaGS/robertosolis/ch27397/testi…
Browse files Browse the repository at this point in the history
…ng-aplicación-mantenimiento-aquasig

Added static resources. Aquasig demo.
  • Loading branch information
Ignacio Domingo Martínez authored Jan 9, 2019
2 parents 84a19bd + 54b2b4b commit cd96d3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ var logParams = config.getLogOpt();
app.use(log4js.connectLogger(log, logParams.access)); // Morgan substitute
log.info('Access logger successfully started');

// Static Resources (used bz aquasig demo)
app.use('/uploads', express.static(__dirname + '/uploads'));

// Data middlewares
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
Expand Down

0 comments on commit cd96d3f

Please sign in to comment.