mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
parent
881054b95a
commit
a3db404147
@ -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 }} />;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user