Skip to content

Commit

Permalink
Changes to static middleware for uiBootstrap; server tests now es6-en…
Browse files Browse the repository at this point in the history
…abled
  • Loading branch information
Joe Alves committed Jul 31, 2015
1 parent 6ae108c commit ee0ed24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions generated/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ gulp.task('buildJS', ['lintJS'], function () {
});

gulp.task('testServerJS', function () {
require('babel/register');
return gulp.src('./tests/server/**/*.js', {
read: false
}).pipe(mocha({ reporter: 'spec' }));
Expand Down
4 changes: 1 addition & 3 deletions generated/server/app/configure/static-middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ module.exports = function (app) {

var root = app.getValue('projectRoot');

var uiBootstrapPath = path.join(root, './node_modules/angular-bootstrap');
var npmPath = path.join(root, './node_modules');
var publicPath = path.join(root, './public');
var browserPath = path.join(root, './browser');

app.use(favicon(app.getValue('faviconPath')));
app.use(express.static(uiBootstrapPath));
app.use(express.static(npmPath));
app.use(express.static(publicPath));
app.use(express.static(browserPath));

};
};

0 comments on commit ee0ed24

Please sign in to comment.