Skip to content

Commit

Permalink
Merge pull request #45 from Samsung/version
Browse files Browse the repository at this point in the history
Fix contentSrc
  • Loading branch information
pwsses authored Jun 18, 2020
2 parents 21ec2ce + 767f900 commit 479765b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions lib/hostAppHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,13 @@ function setDefaultConfigData(configData) {
}
];

configData[WITS_CONFIG_CONTENT_TAG] = [
{
attributes: {
src: 'index.html'
}
}
];
// configData[WITS_CONFIG_CONTENT_TAG] = [
// {
// attributes: {
// src: 'index.html'
// }
// }
// ];

configData[WITS_CONFIG_ICON_TAG] = [
{
Expand Down Expand Up @@ -383,7 +383,7 @@ function getContentSrc(baseAppPath) {

try {
const file = path.resolve(path.join(baseAppPath, 'config.xml'));
const data = fs.readFileSync(file, 'utf8');
let data = fs.readFileSync(file, 'utf8');
data = util.clearComment(data);
contentSrc = data
.match(regExp.CONTENT_SRC)[0]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tizentv/wits",
"version": "2.1.4",
"version": "2.1.5",
"description": "Instant live reload tool for Tizen Web Application development",
"main": "index.js",
"author": "Samsung Electronics Co., Ltd.",
Expand Down

0 comments on commit 479765b

Please sign in to comment.