couchserver: also serve files with cachebuster, remove the GET-Param
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/68a828ca Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/68a828ca Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/68a828ca Branch: refs/heads/Query-UI-Cleanup Commit: 68a828ca9a948711fd9ff92cd432b0454a48a609 Parents: 75fd476 Author: Robert Kowalski <[email protected]> Authored: Mon Mar 31 23:46:01 2014 +0200 Committer: suelockwood <[email protected]> Committed: Mon Apr 14 14:40:15 2014 -0400 ---------------------------------------------------------------------- src/fauxton/tasks/couchserver.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/68a828ca/src/fauxton/tasks/couchserver.js ---------------------------------------------------------------------- diff --git a/src/fauxton/tasks/couchserver.js b/src/fauxton/tasks/couchserver.js index 95b05e8..e1f18f9 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/',''));
