projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[DeviceHome][VD] Fix setting the 'wsa' path
[platform/framework/web/wrtjs.git]
/
device_home
/
service
/
service.js
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`);