We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de0348 commit 5f4520fCopy full SHA for 5f4520f
server/utils/changelog/markdown.ts
@@ -259,12 +259,6 @@ function resolveUrl(url: string, repoInfo: MarkdownRepoInfo) {
259
260
// Check if this is a markdown file link
261
const isMarkdownFile = /\.md$/i.test(url.split('?')[0]?.split('#')[0] ?? '')
262
-
263
- // if (url.startsWith('./') || url.startsWith('../')) {
264
- // // url constructor handles relative paths
265
- // return checkResolvedUrl(new URL(url, `${baseUrl}/${repoInfo.path ?? ''}`).href, baseUrl)
266
- // }
267
268
const baseUrl = isMarkdownFile ? repoInfo.blobBaseUrl : repoInfo.rawBaseUrl
269
270
if (url.startsWith('/')) {
0 commit comments