Skip to content

Commit 23dcde5

Browse files
committed
fix: function call
1 parent 5efce5e commit 23dcde5

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${getCodeUrl()}`)
252+
const canonicalUrl = computed(() => `https://npmx.dev${getCodeUrl(route.params)}`)
253253
254254
// Toggle markdown view mode
255255
const markdownViewModes = [

0 commit comments

Comments
 (0)