编辑项目中的 config.js 文件,修改以下配置项:
github: {
owner: '你的用户名',
repo: '仓库名',
contentPaths: {
'post': 'content/post',
'page': 'content/page'
},
dataPath: 'data'
}
api: {
proxyUrl: 'https://gitmd-api.xxx.workers.dev',
useProxy: true
}
GITHUB_TOKENworker/worker.js 代码GITHUB_TOKEN