cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/2] git commit: Small fix to UriRemap to remove double forward slash for plugin assets
Date Wed, 04 Jun 2014 02:08:17 GMT
Small fix to UriRemap to remove double forward slash for plugin assets


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/e1722eb9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/e1722eb9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/e1722eb9

Branch: refs/heads/master
Commit: e1722eb98e499130049c6df0cb1d7c5224853aec
Parents: 5385919
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Jun 3 13:52:10 2014 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Jun 3 21:48:26 2014 -0400

----------------------------------------------------------------------
 www/cdvah/js/Installer.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/e1722eb9/www/cdvah/js/Installer.js
----------------------------------------------------------------------
diff --git a/www/cdvah/js/Installer.js b/www/cdvah/js/Installer.js
index 28acb24..d339d33 100644
--- a/www/cdvah/js/Installer.js
+++ b/www/cdvah/js/Installer.js
@@ -144,8 +144,7 @@
                     UrlRemap.aliasUri(harnessPrefixPattern, harnessPrefixPattern, appWwwUrl,
false /* redirect */, true /* allowFurtherRemapping */);
 
                     // Set-up app-harness: scheme to point at the harness.
-                    UrlRemap.aliasUri('^app-harness:///cdvah/index.html', '^app-harness://',
harnessWwwUrl, true, false);
-                    return UrlRemap.aliasUri('^app-harness:', '^app-harness://', harnessWwwUrl,
false, false)
+                    return UrlRemap.aliasUri('^app-harness:', '^app-harness:///', harnessWwwUrl,
false, false)
                     .then(function() {
                         return startLocation;
                     });


Mime
View raw message