Fix regular expression for appUrl.replace. This is because, according to

dial document, there is no mention of '/' behind of IP Address/Port/apps
This commit is contained in:
이윤혁/연구원/TV Contents Service팀(yunhyeok.lee@lge.com)
2019-05-09 15:20:58 +09:00
parent d1b1aa2636
commit c8d649deec

View File

@@ -279,7 +279,7 @@ function constructAppResourceUrl(host, appName) {
return new Q() return new Q()
.then(getAppsUrl.bind(null, host)) .then(getAppsUrl.bind(null, host))
.then(function (appUrl) { .then(function (appUrl) {
return appUrl.replace(/\/+$/, `/${appName}`); return appUrl.replace(/\/*$/, `/${appName}`);
}); });
} }