summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node/hooks/express/static.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/hooks/express/static.js b/src/node/hooks/express/static.js
index 7af54b5d..34fce29e 100644
--- a/src/node/hooks/express/static.js
+++ b/src/node/hooks/express/static.js
@@ -9,7 +9,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
// Cache both minified and static.
var assetCache = new CachingMiddleware;
- args.app.all(/\/(javascripts|static)\/(.*)/, assetCache.handle);
+ args.app.all(/\/javascripts\/(.*)/, assetCache.handle);
// Minify will serve static files compressed (minify enabled). It also has
// file-specific hacks for ace/require-kernel/etc.