interface: fix protocol handler

Fixes urbit/landscape#680
This commit is contained in:
Liam Fitzgerald 2021-04-01 18:01:10 +10:00
parent 881054b95a
commit a3db404147
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -54,7 +54,8 @@ function FallbackRoutes(props: { query: URLSearchParams }) {
if (query.has("ext")) {
const ext = query.get("ext")!;
const url = `/perma${ext.slice(15)}`;
const url = `/perma${ext.slice(16)}`;
console.log(url);
return <Redirect to={{ pathname: url }} />;
}