atmosphere explorer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix search redirect history

Juliet 63ff15fb 47bfa837

+4 -4
+1 -1
src/layout.tsx
··· 38 38 createEffect(async () => { 39 39 if (props.params.repo && !props.params.repo.startsWith("did:")) { 40 40 const did = await resolveHandle(props.params.repo as Handle); 41 - navigate(location.pathname.replace(props.params.repo, did)); 41 + navigate(location.pathname.replace(props.params.repo, did), { replace: true }); 42 42 } 43 43 }); 44 44
+3 -3
src/views/repo.tsx
··· 113 113 if (!did.startsWith("did:")) { 114 114 try { 115 115 const did = await resolveHandle(params.repo as Handle); 116 - navigate(location.pathname.replace(params.repo!, did)); 116 + navigate(location.pathname.replace(params.repo!, did), { replace: true }); 117 117 return; 118 118 } catch { 119 119 try { 120 120 const nsid = params.repo as Nsid; 121 121 const res = await resolveLexiconAuthority(nsid); 122 - navigate(`/at://${res}/com.atproto.lexicon.schema/${nsid}`); 122 + navigate(`/at://${res}/com.atproto.lexicon.schema/${nsid}`, { replace: true }); 123 123 return; 124 124 } catch { 125 - navigate(`/${did}`); 125 + navigate(`/${did}`, { replace: true }); 126 126 return; 127 127 } 128 128 }