Skip to content

Commit a84de51

Browse files
committed
fix: use correct function
1 parent fc64ccb commit a84de51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/pages/package-code/[[org]]/[packageName]/v/[version]/[...filePath].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function copyPermalinkUrl() {
249249
}
250250
251251
// Canonical URL for this code page
252-
const canonicalUrl = computed(() => `https://npmx.dev${getCurrentCodeUrlWithPath()}`)
252+
const canonicalUrl = computed(() => `https://npmx.dev${getCodeUrl()}`)
253253
254254
// Toggle markdown view mode
255255
const markdownViewModes = [

0 commit comments

Comments
 (0)