Skip to content

Commit b335570

Browse files
committed
fix: edit this page
1 parent 6c54682 commit b335570

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.vitepress/config.mts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@ export default defineConfig({
7070
...(isDev && {
7171
text: 'Edit in VS Code',
7272
}),
73-
// pattern:
74-
// 'https://github.com/NativeScript/docs/blob/main/content/:filePath',
7573
pattern: isDev
7674
? `vscode://file/${path.resolve(__dirname, '../content/:filePath')}`
77-
: `https://pr.new/github.com/NativeScript/docs/edit/${branch}/content/:filePath?initialPath=:path`,
75+
: `https://github.com/NativeScript/docs/edit/${branch}/content/:filePath`,
7876
},
7977
algolia: {
8078
appId: '110JARHFDU',

0 commit comments

Comments
 (0)