From ae6a06f318887167255a3d599a5d23b5a200d525 Mon Sep 17 00:00:00 2001 From: DongHyun Song Date: Wed, 20 Apr 2022 16:07:51 +0900 Subject: [PATCH] [DeviceHome][VD] Fix setting the 'wsa' path The start page includes 'wsa' path, then replace the base path as /res/wsa/client/ for tmg app. Change-Id: Iaed061140e26ee04a78402fb1879bc861f7cb4a4 Signed-off-by: DongHyun Song --- device_home/service/service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device_home/service/service.js b/device_home/service/service.js index 138dd23..4cf8593 100755 --- a/device_home/service/service.js +++ b/device_home/service/service.js @@ -357,7 +357,7 @@ var HTTPserverStart = function() { if (is_tv) { platform_app_path = '/opt/usr/apps'; - if (!fs.existsSync(path.join(__dirname, platform_client_res_path))) { + if (__dirname.indexOf('/wsa/') > -1) { platform_client_res_path = '/res/wsa/client'; } console.log(`${TAG} TV Profile`); -- 2.7.4