Skip to content

Commit

Permalink
fixed: require wrong file since last refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vervallsweg committed May 24, 2019
1 parent 9463b5a commit 638b241
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified bin/cast-web-api
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion lib/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class Config {
}

static getAbsolutePath(){
let path = (require.resolve('../../castWebApi.js').substring(0, ( require.resolve('../../castWebApi.js').length -14 ) ));
let path = (require.resolve('../../api.js').substring(0, ( require.resolve('../../api.js').length -7 ) )); //TODO: fix this
// console.log(path);
return path;
}
Expand Down

0 comments on commit 638b241

Please sign in to comment.