atmosphere explorer
0
fork

Configure Feed

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

fix PDS in navbar

Juliet f3e9d773 360d9e92

+3 -2
+1 -1
src/views/pds.tsx
··· 205 205 const params = useParams(); 206 206 const hidden = () => !!params.repo; 207 207 const location = useLocation(); 208 - setPDS(params.pds); 208 + if (params.pds !== "at:") setPDS(params.pds); 209 209 const pds = 210 210 params.pds!.startsWith("localhost") ? `http://${params.pds}` : `https://${params.pds}`; 211 211 const rpc = new Client({ handler: simpleFetchHandler({ service: pds }) });
+2 -1
src/views/repo/index.tsx
··· 40 40 import { useFilterShortcut } from "../../lib/keyboard.js"; 41 41 import { RepoProvider, useRepo } from "../../lib/repo-context.jsx"; 42 42 import { BlobView } from "../blob.jsx"; 43 + import { plcDirectory } from "../settings.jsx"; 43 44 import { IdentityView } from "./identity.jsx"; 44 45 import { PlcLogView } from "./logs.jsx"; 45 - import { plcDirectory } from "../settings.jsx"; 46 46 47 47 export const repoPreload: RoutePreloadFunc = ({ params }) => { 48 48 if (params.repo?.startsWith("did:")) void getPDS(params.repo); ··· 83 83 return id?.startsWith("did:") ? id : undefined; 84 84 }, 85 85 async (did) => { 86 + setPDS(undefined); 86 87 try { 87 88 const pdsUrl = await getPDS(did); 88 89 const rpc = new Client({ handler: simpleFetchHandler({ service: pdsUrl }) });