Skip to content

Commit

Permalink
fixes for serving from azure
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpapa committed Dec 6, 2014
1 parent 68fb81d commit c0075f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modular/src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ app.get('/ping', function(req, res, next) {
switch (environment){
case 'production':
console.log('** PRODUCTION ON AZURE **');
console.log('serving from ' + './build/');
process.chdir('./../../');
app.use('/', express.static('./build/stage/'));
// app.use('/', express.static(pkg.paths.client));
// app.use('/', express.static('./'));
app.use('/', express.static('./build/'));
break;
case 'stage':
case 'build':
Expand Down

0 comments on commit c0075f3

Please sign in to comment.