mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +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'
|
import { fetcher } from 'itty-fetcher'
|
||||||
|
|
||||||
const GITHUB_REPO = 'https://api.github.com/repos/fmhy/FMHYEdit/contents/'
|
// Look inside tbe docs directory
|
||||||
const EXCLUDE_FILES = ['README.md', 'index.md', 'feedback.md', 'posts.md']
|
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/']
|
const EXCLUDE_DIRECTORIES = ['posts/']
|
||||||
|
|
||||||
interface File {
|
interface File {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue