projects
/
platform
/
framework
/
web
/
wrtjs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab6854
)
[DeviceHome][VD] Fix setting the 'wsa' path
32/274032/2
author
DongHyun Song
<dh81.song@samsung.com>
Wed, 20 Apr 2022 07:07:51 +0000
(16:07 +0900)
committer
DongHyun Song
<dh81.song@samsung.com>
Wed, 20 Apr 2022 07:49:35 +0000
(07:49 +0000)
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 <dh81.song@samsung.com>
device_home/service/service.js
patch
|
blob
|
history
diff --git
a/device_home/service/service.js
b/device_home/service/service.js
index
138dd23
..
4cf8593
100755
(executable)
--- 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`);