interface: fix protocol handler
Fixes urbit/landscape#680
@@ -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 }} />;
}
