Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yingshaoxo committed Aug 12, 2019
1 parent 0072149 commit a231c9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ___
___

#### Complie:
Have `yarn` and `golang` installed first.

```
./Tools.sh build
```
Expand Down
2 changes: 1 addition & 1 deletion client/src/Popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MyVideoPlayer extends React.Component {

class ResponsiveDialog extends React.Component {
get_target_url = () => {
var root_folder = this.props.parentState.info['root_folder'] + "/"
var root_folder = this.props.parentState.info['root_folder']
var path = this.props.parentState.selected_file_path
var target_url = MEDIA_BASE + path.replace(root_folder, "")
return target_url
Expand Down

0 comments on commit a231c9c

Please sign in to comment.