Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

题单投票+评论实现 #970

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

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