Skip to content

Commit

Permalink
fix the path to kibana
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalphettes committed Jan 20, 2015
1 parent 8f5914e commit 650b96a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ function configureApp(app, config) {
var kibanaPath = 'kibana-build';
if (fs.existsSync('kibana/src')) {
kibanaPath = 'kibana/src';
} else if (fs.existsSync('kibana/index.html')) {
kibanaPath = 'kibana';
}

app.use('/', express.static(__dirname + '/' + kibanaPath));
Expand Down

0 comments on commit 650b96a

Please sign in to comment.