Skip to content

题单投票+评论实现#970

Open
Officeyutong wants to merge 8 commits intoOI-wiki:masterfrom
Officeyutong:master
Open

题单投票+评论实现#970
Officeyutong wants to merge 8 commits intoOI-wiki:masterfrom
Officeyutong:master

Conversation

@Officeyutong
Copy link

  • 使用的是和评论区相同的OAuth App(直接从环境变量读的ID和secret)
  • 使用的后端存储仓库通过GATSBY_GITHUB_COLLECTION_REPO_OWNER(默认为officeyutong)和GATSBY_GITHUB_COLLECTION_REPO_NAME(默认为collection-test)指定
  • 同时通过GATSBY_GITHUB_COLLECTION_PROXYURL指定所使用的代理服务器(正确处理跨域问题,默认为https://sparkling-silence-bf63.officeyutong.workers.dev/?
  • 可以通过与评论区类似格式的noCollection变量指定在某个页面不使用题单投票

第一次用MaterialUIgatsby写东西,希望不要搞砸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants