diff options
author | Robert Kowalski <rok@kowalski.gd> | 2014-03-31 23:46:01 +0200 |
---|---|---|
committer | suelockwood <deathbear@apache.org> | 2014-04-14 14:40:15 -0400 |
commit | 68a828ca9a948711fd9ff92cd432b0454a48a609 (patch) | |
tree | 805b14426f225536e1090c3ad40d1505f8693ee7 | |
parent | 75fd476f2f4b62a9d3a82b9bd9e68737df1b2c5f (diff) | |
download | couchdb-68a828ca9a948711fd9ff92cd432b0454a48a609.tar.gz |
couchserver: also serve files with cachebuster, remove the GET-Param
-rw-r--r-- | src/fauxton/tasks/couchserver.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fauxton/tasks/couchserver.js b/src/fauxton/tasks/couchserver.js index 95b05e860..e1f18f919 100644 --- a/src/fauxton/tasks/couchserver.js +++ b/src/fauxton/tasks/couchserver.js @@ -51,6 +51,7 @@ module.exports = function (grunt) { filePath = path.join(app_dir, url.replace('/_utils/fauxton/','')); } else if (!!url.match(/assets/)) { // serve any javascript or css files from here assets dir + url = url.replace(/\?.*/, ''); filePath = path.join('./',url); } else if (!!url.match(/mocha|\/test\/core\/|test\.config/)) { filePath = path.join('./test', url.replace('/test/','')); |