mirror of
https://github.com/supabase/supabase.git
synced 2026-07-07 01:34:22 +08:00
fix: github edit link for docs pages (#21095)
This commit is contained in:
@@ -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