File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default function Protocol() {
19
19
useEffect ( ( ) => {
20
20
( async ( ) => {
21
21
let url = protocol . repository . replace ( "https://github.com" , "https://raw.githubusercontent.com" ) ;
22
- url = `${ url } /refs/heads/main/README.md` ;
22
+ url = `${ url } /refs/heads/main/${ protocol . readmePath ?? " README.md" } ` ;
23
23
const res = await fetch ( url ) ;
24
24
const text = await res . text ( )
25
25
setMarkdown ( text ) ;
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ export const protocols = [
53
53
"tagline" : "A protocol to communicate with a content tracker for iroh-blobs." ,
54
54
"slug" : "iroh-content-discovery" ,
55
55
"documentation" : "https://docs.rs/iroh-content-discovery/latest/iroh_content_discovery/" ,
56
- "repository" : "https://github.com/tipragot/godot-iroh" ,
56
+ "repository" : "https://github.com/n0-computer/iroh-experiments/" ,
57
+ "readmePath" : "content-discovery/README.md" ,
57
58
"version" : "v0.1.0"
58
59
} ,
59
60
{
You can’t perform that action at this time.
0 commit comments