diff options
| author | Vojta Jina | 2011-10-12 18:25:42 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-13 11:10:20 -0700 | 
| commit | 8e32f3fd351fcdbc30822f1996d567fcbcc42c02 (patch) | |
| tree | 068abf3a5ca617aad25fc5f3b0138e3de512061a /lib | |
| parent | 02332107e51a4b00b313c3457b8fa8959c7cb517 (diff) | |
| download | angular.js-8e32f3fd351fcdbc30822f1996d567fcbcc42c02.tar.bz2 | |
fix(nodeserver): docs rewriting
There can be url /api which does not end with / and we want to rewrite this url as well...
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/nodeserver/server.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/nodeserver/server.js b/lib/nodeserver/server.js index 5f85b368..005a2fa5 100644 --- a/lib/nodeserver/server.js +++ b/lib/nodeserver/server.js @@ -93,7 +93,7 @@ StaticServlet.prototype.handleRequest = function(req, res) {      return self.sendForbidden_(req, res, path);    // docs rewriting -  var REWRITE = /\/(guide|api|cookbook|misc|tutorial)\/.*$/, +  var REWRITE = /\/(guide|api|cookbook|misc|tutorial).*$/,        IGNORED = /(\.(css|js|png|jpg)$|partials\/.*\.html$)/,        match; | 
