mirror of
https://github.com/fmhy/edit.git
synced 2026-01-17 17:31:18 +11:00
fix(api): adjust /single-page for new directory
This commit is contained in:
parent
5e470ac48e
commit
6e945ef19a
1 changed files with 8 additions and 2 deletions
|
|
@ -1,7 +1,13 @@
|
|||
import { fetcher } from 'itty-fetcher'
|
||||
|
||||
const GITHUB_REPO = 'https://api.github.com/repos/fmhy/FMHYEdit/contents/'
|
||||
const EXCLUDE_FILES = ['README.md', 'index.md', 'feedback.md', 'posts.md']
|
||||
// Look inside tbe docs directory
|
||||
const GITHUB_REPO = 'https://api.github.com/repos/fmhy/FMHYEdit/contents/docs/'
|
||||
const EXCLUDE_FILES = [
|
||||
'README.md',
|
||||
'docs/index.md',
|
||||
'docs/feedback.md',
|
||||
'docs/posts.md'
|
||||
]
|
||||
const EXCLUDE_DIRECTORIES = ['posts/']
|
||||
|
||||
interface File {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue