mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
fix: github edit link for docs pages (#21095)
This commit is contained in:
1 parent
e20038e2f2
commit
be2af86c9c
1 file changed
+1
-1
@@ -53,7 +53,7 @@ export const getStaticProps = (async ({ params }) => {
|
||||
const fullPath = join(GUIDES_DIRECTORY, relPath + '.mdx')
|
||||
const mdx = await readFile(fullPath, 'utf-8')
|
||||
|
||||
const editLink = `https://github.com/supabase/supabase/blob/master/apps/docs/content/guides/${relPath}.mdx`
|
||||
const editLink = `supabase/supabase/blob/master/apps/docs/content/guides/${relPath}.mdx`
|
||||
|
||||
const { data: frontmatter, content } = matter(mdx)
|
||||
if (!isValidGuideFrontmatter(frontmatter)) {
|
||||
|
||||
Reference in new issue
Block a user