Skip to content

Commit

Permalink
Merge pull request #69 from ourfor/feature/comment
Browse files Browse the repository at this point in the history
🔧 update comment config
  • Loading branch information
ourfor authored Mar 14, 2024
2 parents 48f77f0 + 02b4661 commit 006f1ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ REACT_APP_GISCUS_SRC="@giscus/react"
REACT_APP_GISCUS_REPO=ourfor/iplay
REACT_APP_GISCUS_REPO_ID=R_kgDOKF9yOg
REACT_APP_GISCUS_CATEGORY=Announcements
REACT_APP_GISCUS_CATEGORY_ID=DIC_kwDOCRNfqs4CA3Nu
REACT_APP_GISCUS_CATEGORY_ID=DIC_kwDOKF9yOs4Cd2rv
REACT_APP_GISCUS_MAPPING=pathname
REACT_APP_GISCUS_STRICT=0
REACT_APP_GISCUS_REACTIONS_ENABLED=1
Expand Down
17 changes: 17 additions & 0 deletions doc/giscus.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
curl 'https://giscus.app/api/discussions' \
-H 'authority: giscus.app' \
-H 'accept: */*' \
-H 'accept-language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-H 'origin: https://giscus.app' \
-H 'pragma: no-cache' \
-H 'referer: https://giscus.app/' \
-H 'sec-ch-ua: "Chromium";v="122", "Not(A:Brand";v="24", "Microsoft Edge";v="122"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0' \
--data-raw '{"repo":"ourfor/iplay","input":{"repositoryId":"R_kgDOKF9yOg","categoryId":"DIC_kwDOKF9yOs4Cd2rv","title":"search","body":"🔍 搜索内容"}}'

0 comments on commit 006f1ba

Please sign in to comment.