couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [2/3] fauxton commit: updated refs/heads/master to fa6a30e
Date Wed, 13 Jan 2016 12:08:15 GMT
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f25abf1d/tasks/couchserver.js
----------------------------------------------------------------------
diff --git a/tasks/couchserver.js b/tasks/couchserver.js
index b7dc265..d4e434c 100644
--- a/tasks/couchserver.js
+++ b/tasks/couchserver.js
@@ -63,6 +63,9 @@ module.exports = function (grunt) {
 
       if (!!url.match(/^\/addons\/.*\/assets\/js/)) {
         filePath = path.join(app_dir, url.replace('/_utils/fauxton/', ''));
+      } else if (!!url.match(/dashboard\.assets/)) {
+        url = url.replace(/\?.*/, '');
+        filePath = path.join(dist_dir, url);
       } else if (!!url.match(/assets/)) {
         // serve any javascript or css files from here assets dir
         url = url.replace(/\?.*/, '');


Mime
View raw message