fixing build

This commit is contained in:
Martin Donnelly 2016-04-13 14:38:43 +01:00
parent e42f2e2d46
commit 25d2a3a068
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ gulp.task('partials', function() {
gulp.src(['app/libs/ejs_production.js']).pipe(gulp.dest('dist/libs')); gulp.src(['app/libs/ejs_production.js']).pipe(gulp.dest('dist/libs'));
gulp.src(['app/libs/microevent.js']).pipe(gulp.dest('dist/libs')); gulp.src(['app/libs/microevent.js']).pipe(gulp.dest('dist/libs'));
gulp.src(['app/fav/**/*']).pipe(gulp.dest('dist/fav')); gulp.src(['app/fav/**/*']).pipe(gulp.dest('dist/fav'));
gulp.src(['app/gfx/**/*']).pipe(gulp.dest('dist/gfx'));
}); });

View File

@ -17,7 +17,7 @@ app.use(logger('dev'));
app.use(bodyParser.json()); app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.urlencoded({ extended: true }));
app.use(cookieParser()); app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'app'))); app.use(express.static(path.join(__dirname, 'dist')));
app.use('/', keeper); app.use('/', keeper);