Switch from full URI to absolute path for View links
This commit is contained in:
parent
7ba7232b59
commit
96745ef2b6
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ var SearchResultRow = React.createClass({
|
|||
|
||||
// No support for lbry:// URLs in Windows or on Chrome yet
|
||||
if (/windows|win32/i.test(navigator.userAgent) || (window.chrome && window.navigator.vendor == "Google Inc.")) {
|
||||
var linkURI = window.location.host + "/view?name=" + this.props.name;
|
||||
var linkURI = "/view?name=" + this.props.name;
|
||||
} else {
|
||||
var linkURI = displayURI;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue