From e2de4647344106fdefd5f0bc7fec65c0f9e1c469 Mon Sep 17 00:00:00 2001 From: PJ Date: Tue, 28 Jan 2020 12:35:39 +0100 Subject: [PATCH] Do not point client at /direct --- packages/siaviewnode-client/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/siaviewnode-client/pages/index.tsx b/packages/siaviewnode-client/pages/index.tsx index de43466a..a51daf20 100644 --- a/packages/siaviewnode-client/pages/index.tsx +++ b/packages/siaviewnode-client/pages/index.tsx @@ -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() } }