Do not point client at /direct

This commit is contained in:
PJ 2020-01-28 12:35:39 +01:00
parent b0e4ff6863
commit e2de464734
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ const Index = () => {
const removeHead = R.compose(R.tail, R.split("sia://"))
const hash = removeHead(linkfileUrl)[0]
if (window) {
var win = window.open(`/direct/${hash}`, "_blank")
var win = window.open(`/${hash}`, "_blank")
win.focus()
}
}