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 2fbc3cf commit d37e8bcCopy full SHA for d37e8bc
packages/nimiq-vitepress-theme/src/composables/useSourceCode.ts
@@ -73,14 +73,14 @@ export function useSourceCode() {
73
const editUrl = computed(() => {
74
if (!repoURL.value)
75
return ''
76
- return join(repoURL.value, getRepoFilePath.value)
+ return `${repoURL.value.replace(/\/$/, '')}/${getRepoFilePath.value}`
77
})
78
79
const sourceCodeUrl = computed(() => {
80
81
82
83
- return join(repoURL.value, 'blob/main', getRepoFilePath.value)
+ return `${repoURL.value.replace(/\/$/, '')}/blob/main/${getRepoFilePath.value}`
84
85
86
const sourceCodeLabel = computed(() => {
0 commit comments