Do not point client at /direct
This commit is contained in:
parent
b0e4ff6863
commit
e2de464734
|
@ -18,7 +18,7 @@ const Index = () => {
|
||||||
const removeHead = R.compose(R.tail, R.split("sia://"))
|
const removeHead = R.compose(R.tail, R.split("sia://"))
|
||||||
const hash = removeHead(linkfileUrl)[0]
|
const hash = removeHead(linkfileUrl)[0]
|
||||||
if (window) {
|
if (window) {
|
||||||
var win = window.open(`/direct/${hash}`, "_blank")
|
var win = window.open(`/${hash}`, "_blank")
|
||||||
win.focus()
|
win.focus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue