mirror of
https://github.com/vacp2p/rfc.vac.dev.git
synced 2026-01-07 23:23:51 -05:00
feat: fix issues with images
This commit is contained in:
@@ -142,7 +142,7 @@ function replaceLocalImagePathsWithGitHubUrls(content) {
|
|||||||
match.match(/\/(status|vac)\/[^\s)]+\.(png|jpg|jpeg|gif)/)?.[0] || ''
|
match.match(/\/(status|vac)\/[^\s)]+\.(png|jpg|jpeg|gif)/)?.[0] || ''
|
||||||
return match.replace(
|
return match.replace(
|
||||||
path,
|
path,
|
||||||
`https://github.com/vacp2p/rfc-index/blob/main${path}?raw=true`,
|
`https://raw.githubusercontent.com/vacp2p/rfc-index/refs/heads/main/${path}`,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user