mirror of
https://github.com/vacp2p/rfc.vac.dev.git
synced 2026-01-05 06:03:54 -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] || ''
|
||||
return match.replace(
|
||||
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