Navigation Menu

Skip to content

Commit

Permalink
Use meaningful regexp for all match case
Browse files Browse the repository at this point in the history
All request path starts with "/".
  • Loading branch information
kou committed Apr 22, 2014
1 parent f2cbe96 commit 9af722e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/droonga-http-server
Expand Up @@ -52,7 +52,7 @@ application.use(session({
application.use(responseTime());
if (options.cacheSize > 0) {
var cacheMiddlewareRules = [
{ regex: /./ }
{ regex: /^\// }
];
if (droonga.Cache) {
var cache = new droonga.Cache({
Expand Down

0 comments on commit 9af722e

Please sign in to comment.