mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 02:49:58 +00:00
Merge pull request #24 from kannsky/master
Fix regular expression for appUrl.replace.
This commit is contained in:
@@ -279,7 +279,7 @@ function constructAppResourceUrl(host, appName) {
|
||||
return new Q()
|
||||
.then(getAppsUrl.bind(null, host))
|
||||
.then(function (appUrl) {
|
||||
return appUrl.replace(/\/+$/, `/${appName}`);
|
||||
return appUrl.replace(/\/*$/, `/${appName}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user