session support

This commit is contained in:
Athou
2014-08-09 15:25:41 +02:00
parent 21ec54408e
commit 33b683d037
10 changed files with 202 additions and 77 deletions

View File

@@ -72,7 +72,10 @@ gulp.task('serve', function() {
root : BUILD_DIR,
port : 8082,
middleware : function() {
return [modRewrite(['^/rest/(.*)$ http://localhost:8083/rest/$1 [P]'])];
var rest = '^/rest/(.*)$ http://localhost:8083/rest/$1 [P]';
var next = '^/next(.*)$ http://localhost:8083/next$1 [P]';
var logout = '^/logout(.*)$ http://localhost:8083/logout$1 [P]';
return [modRewrite([rest, next, logout])];
}
});
});