security revamp

This commit is contained in:
Athou
2014-08-08 21:57:16 +02:00
parent 9d070bd33c
commit c56c213da7
17 changed files with 209 additions and 91 deletions

View File

@@ -63,9 +63,9 @@ gulp.task('watch', function() {
gulp.task('serve', function() {
connect.server({
root : BUILD_DIR,
port : 8083,
port : 8082,
middleware : function() {
return [modRewrite(['^/rest/(.*)$ http://localhost:8082/rest/$1 [P]'])];
return [modRewrite(['^/rest/(.*)$ http://localhost:8083/rest/$1 [P]'])];
}
});
});