Skip to content

Commit

Permalink
Enabled CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinaser committed Jan 8, 2018
1 parent 818b6f1 commit 18b68d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulp/tasks/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ gulp.task('serve', function(cb){
server: {
baseDir: config["html"]["destIndexDir"],
middleware: [pugMiddleware]
}
},
cors: true
}, function(){
// Do incremental build by watchify instead of gulp.watch
cb();
Expand Down

0 comments on commit 18b68d0

Please sign in to comment.