jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
6.82k stars 1.24k forks source link

[Bug]: Gitalk最新评论获取失败 #1421

Closed ttiee closed 6 months ago

ttiee commented 6 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.10.0

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的瀏覽器? || What browse are you using?

Edge

使用的系統? || What operating system are you using?

Linux

依賴插件 | Package dependencies Information

hexo-site@0.0.0 /home/xxxxx/workspace/hexo-blog-source
├── bindings@1.5.0 extraneous
├── file-uri-to-path@1.0.0 extraneous
├── gitalk@1.8.0
├── gulp-clean-css@4.3.0
├── gulp-html-minifier-terser@7.1.0
├── gulp-htmlclean@2.7.22
├── gulp-terser@2.1.0
├── gulp@4.0.2
├── hexo-abbrlink@2.2.1
├── hexo-algoliasearch@2.0.1
├── hexo-blog-encrypt@3.1.9
├── hexo-butterfly-envelope@1.0.15
├── hexo-butterfly-footer-beautify@1.0.6
├── hexo-butterfly-tag-plugins-plus@1.0.17
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@3.0.0
├── hexo-generator-tag@2.0.0
├── hexo-pdf@1.1.1
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-kramed@0.1.4
├── hexo-renderer-pug@3.0.0
├── hexo-renderer-stylus@3.0.0
├── hexo-server@3.0.0
├── hexo-tag-aplayer@3.0.4
├── hexo-tag-map@1.2.1
├── hexo-theme-landscape@1.0.0
├── hexo-wordcount@6.0.1
├── hexo@7.0.0
└── nan@2.18.0 extraneous

問題描述 | Describe the bug

gitalk最新評論加載不出來

image image

看了壹下api,獲取到的內容沒有問題

出現問題網站 | Website

https://ttiee.github.io/

ttiee commented 6 months ago

嗯...似乎是提交pr後的信息有問題 我剛剛發了幾個測試評論,可以正常獲取了

下面是原來出問題的時候api獲取到的內容,妳可以看壹下

點擊展開 ```json [ { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882912", "html_url": "https://github.com/ttiee/ttiee.github.io/pull/41#issuecomment-1868882912", "issue_url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/41", "id": 1868882912, "node_id": "IC_kwDOKr2Ssc5vZOPg", "user": { "login": "netlify[bot]", "id": 40209326, "node_id": "MDM6Qm90NDAyMDkzMjY=", "avatar_url": "https://avatars.githubusercontent.com/in/13473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/netlify%5Bbot%5D", "html_url": "https://github.com/apps/netlify", "followers_url": "https://api.github.com/users/netlify%5Bbot%5D/followers", "following_url": "https://api.github.com/users/netlify%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/netlify%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/netlify%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/netlify%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/netlify%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/netlify%5Bbot%5D/repos", "events_url": "https://api.github.com/users/netlify%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/netlify%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "created_at": "2023-12-25T09:23:26Z", "updated_at": "2023-12-25T09:23:33Z", "author_association": "NONE", "body": "### Deploy Preview for *ttiee* ready!\n\n\n| Name | Link |\n|:-:|------------------------|\n|🔨 Latest commit | 2103bdc4bcbf8d4d23157f31fe35a28cba197326 |\n|🔍 Latest deploy log | https://app.netlify.com/sites/ttiee/deploys/65894a0cb3bf360008b86610 |\n|😎 Deploy Preview | [https://deploy-preview-41--ttiee.netlify.app](https://deploy-preview-41--ttiee.netlify.app) |\n|📱 Preview on mobile |
Toggle QR Code...

![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTQxLS10dGllZS5uZXRsaWZ5LmFwcCJ9.hUrKCy5nrNFajg69T4MrY_BSUhBEE8FUbrBsukQblV0)

_Use your smartphone camera to open QR code link._
|\n---\n\n_To edit notification comments on pull requests, go to your [Netlify site configuration](https://app.netlify.com/sites/ttiee/configuration/deploys#deploy-notifications)._", "reactions": { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 13473, "slug": "netlify", "node_id": "MDM6QXBwMTM0NzM=", "owner": { "login": "netlify", "id": 7892489, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/7892489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/netlify", "html_url": "https://github.com/netlify", "followers_url": "https://api.github.com/users/netlify/followers", "following_url": "https://api.github.com/users/netlify/following{/other_user}", "gists_url": "https://api.github.com/users/netlify/gists{/gist_id}", "starred_url": "https://api.github.com/users/netlify/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/netlify/subscriptions", "organizations_url": "https://api.github.com/users/netlify/orgs", "repos_url": "https://api.github.com/users/netlify/repos", "events_url": "https://api.github.com/users/netlify/events{/privacy}", "received_events_url": "https://api.github.com/users/netlify/received_events", "type": "Organization", "site_admin": false }, "name": "Netlify", "description": "Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n", "external_url": "https://www.netlify.com", "html_url": "https://github.com/apps/netlify", "created_at": "2018-06-12T15:16:51Z", "updated_at": "2023-03-08T17:02:55Z", "permissions": { "checks": "write", "contents": "read", "emails": "read", "issues": "write", "metadata": "read", "pull_requests": "write", "statuses": "write" }, "events": [ "create", "delete", "issue_comment", "pull_request", "pull_request_review", "pull_request_review_comment", "push" ] } }, { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882920", "html_url": "https://github.com/ttiee/ttiee.github.io/pull/41#issuecomment-1868882920", "issue_url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/41", "id": 1868882920, "node_id": "IC_kwDOKr2Ssc5vZOPo", "user": { "login": "vercel[bot]", "id": 35613825, "node_id": "MDM6Qm90MzU2MTM4MjU=", "avatar_url": "https://avatars.githubusercontent.com/in/8329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vercel%5Bbot%5D", "html_url": "https://github.com/apps/vercel", "followers_url": "https://api.github.com/users/vercel%5Bbot%5D/followers", "following_url": "https://api.github.com/users/vercel%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/vercel%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/vercel%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vercel%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/vercel%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/vercel%5Bbot%5D/repos", "events_url": "https://api.github.com/users/vercel%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/vercel%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "created_at": "2023-12-25T09:23:27Z", "updated_at": "2023-12-25T09:23:27Z", "author_association": "NONE", "body": "[vc]: #5sF/6tgmnzcjnNvNNnft7tZ1ETAqvRbT+Nlpip0mvII=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJ0dGllZS1naXRodWItaW8iLCJpbnNwZWN0b3JVcmwiOiJodHRwczovL3ZlcmNlbC5jb20vdHRpZS90dGllZS1naXRodWItaW8vRHVTb0VrSGp4cFlSUmkxaHhicFpBZGNXZVlobyIsInByZXZpZXdVcmwiOiJ0dGllZS1naXRodWItaW8tZ2l0LW5ldy10dGllLnZlcmNlbC5hcHAiLCJuZXh0Q29tbWl0U3RhdHVzIjoiREVQTE9ZRUQifV19\n**The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more)\n\n| Name | Status | Preview | Updated (UTC) |\n| :--- | :----- | :------ | :------ |\n| **ttiee-github-io** | ✅ Ready ([Inspect](https://vercel.com/ttie/ttiee-github-io/DuSoEkHjxpYRRi1hxbpZAdcWeYho)) | [Visit Preview](https://ttiee-github-io-git-new-ttie.vercel.app) | Dec 25, 2023 9:23am |\n\n", "reactions": { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 8329, "slug": "vercel", "node_id": "MDM6QXBwODMyOQ==", "owner": { "login": "vercel", "id": 14985020, "node_id": "MDEyOk9yZ2FuaXphdGlvbjE0OTg1MDIw", "avatar_url": "https://avatars.githubusercontent.com/u/14985020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vercel", "html_url": "https://github.com/vercel", "followers_url": "https://api.github.com/users/vercel/followers", "following_url": "https://api.github.com/users/vercel/following{/other_user}", "gists_url": "https://api.github.com/users/vercel/gists{/gist_id}", "starred_url": "https://api.github.com/users/vercel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vercel/subscriptions", "organizations_url": "https://api.github.com/users/vercel/orgs", "repos_url": "https://api.github.com/users/vercel/repos", "events_url": "https://api.github.com/users/vercel/events{/privacy}", "received_events_url": "https://api.github.com/users/vercel/received_events", "type": "Organization", "site_admin": false }, "name": "Vercel", "description": "Vercel for GitHub automatically deploys your PRs to Vercel.\r\nPreview every PR live, without any configuration required.\r\n\r\nFor more information, see our [documentation](https://vercel.com/docs/github?utm_source=github&utm_medium=marketplace&utm_campaign=vercel-app).\r\n\r\n![](https://assets.vercel.com/image/upload/v1597943727/front/github/github-comment-monorepo.png)", "external_url": "https://vercel.com/github", "html_url": "https://github.com/apps/vercel", "created_at": "2018-01-19T21:51:06Z", "updated_at": "2022-05-17T21:26:30Z", "permissions": { "administration": "write", "checks": "write", "contents": "write", "deployments": "write", "emails": "read", "issues": "write", "members": "read", "metadata": "read", "pull_requests": "write", "repository_hooks": "write", "statuses": "write" }, "events": [ "deployment", "pull_request", "push" ] } }, { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882604", "html_url": "https://github.com/ttiee/ttiee.github.io/pull/40#issuecomment-1868882604", "issue_url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/40", "id": 1868882604, "node_id": "IC_kwDOKr2Ssc5vZOKs", "user": { "login": "netlify[bot]", "id": 40209326, "node_id": "MDM6Qm90NDAyMDkzMjY=", "avatar_url": "https://avatars.githubusercontent.com/in/13473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/netlify%5Bbot%5D", "html_url": "https://github.com/apps/netlify", "followers_url": "https://api.github.com/users/netlify%5Bbot%5D/followers", "following_url": "https://api.github.com/users/netlify%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/netlify%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/netlify%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/netlify%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/netlify%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/netlify%5Bbot%5D/repos", "events_url": "https://api.github.com/users/netlify%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/netlify%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "created_at": "2023-12-25T09:22:49Z", "updated_at": "2023-12-25T09:22:56Z", "author_association": "NONE", "body": "### Deploy Preview for *ttiee* ready!\n\n\n| Name | Link |\n|:-:|------------------------|\n|🔨 Latest commit | 6124d381c29499b78a408b1e4f54934b8a923e50 |\n|🔍 Latest deploy log | https://app.netlify.com/sites/ttiee/deploys/658949e72cd6e3000826d88a |\n|😎 Deploy Preview | [https://deploy-preview-40--ttiee.netlify.app](https://deploy-preview-40--ttiee.netlify.app) |\n|📱 Preview on mobile |
Toggle QR Code...

![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTQwLS10dGllZS5uZXRsaWZ5LmFwcCJ9.IqixoWdcnhbBceGmNNrwmdJFuW1vCvTSiB66kI2qfLU)

_Use your smartphone camera to open QR code link._
|\n---\n\n_To edit notification comments on pull requests, go to your [Netlify site configuration](https://app.netlify.com/sites/ttiee/configuration/deploys#deploy-notifications)._", "reactions": { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882604/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 13473, "slug": "netlify", "node_id": "MDM6QXBwMTM0NzM=", "owner": { "login": "netlify", "id": 7892489, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/7892489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/netlify", "html_url": "https://github.com/netlify", "followers_url": "https://api.github.com/users/netlify/followers", "following_url": "https://api.github.com/users/netlify/following{/other_user}", "gists_url": "https://api.github.com/users/netlify/gists{/gist_id}", "starred_url": "https://api.github.com/users/netlify/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/netlify/subscriptions", "organizations_url": "https://api.github.com/users/netlify/orgs", "repos_url": "https://api.github.com/users/netlify/repos", "events_url": "https://api.github.com/users/netlify/events{/privacy}", "received_events_url": "https://api.github.com/users/netlify/received_events", "type": "Organization", "site_admin": false }, "name": "Netlify", "description": "Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n", "external_url": "https://www.netlify.com", "html_url": "https://github.com/apps/netlify", "created_at": "2018-06-12T15:16:51Z", "updated_at": "2023-03-08T17:02:55Z", "permissions": { "checks": "write", "contents": "read", "emails": "read", "issues": "write", "metadata": "read", "pull_requests": "write", "statuses": "write" }, "events": [ "create", "delete", "issue_comment", "pull_request", "pull_request_review", "pull_request_review_comment", "push" ] } }, { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882612", "html_url": "https://github.com/ttiee/ttiee.github.io/pull/40#issuecomment-1868882612", "issue_url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/40", "id": 1868882612, "node_id": "IC_kwDOKr2Ssc5vZOK0", "user": { "login": "vercel[bot]", "id": 35613825, "node_id": "MDM6Qm90MzU2MTM4MjU=", "avatar_url": "https://avatars.githubusercontent.com/in/8329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vercel%5Bbot%5D", "html_url": "https://github.com/apps/vercel", "followers_url": "https://api.github.com/users/vercel%5Bbot%5D/followers", "following_url": "https://api.github.com/users/vercel%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/vercel%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/vercel%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vercel%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/vercel%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/vercel%5Bbot%5D/repos", "events_url": "https://api.github.com/users/vercel%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/vercel%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "created_at": "2023-12-25T09:22:50Z", "updated_at": "2023-12-25T09:22:50Z", "author_association": "NONE", "body": "[vc]: #ZgvRGldmSkzD6iIQkp8jot/wCFscE+tuzdHoPVZI5OM=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJ0dGllZS1naXRodWItaW8iLCJpbnNwZWN0b3JVcmwiOiJodHRwczovL3ZlcmNlbC5jb20vdHRpZS90dGllZS1naXRodWItaW8vOG1mSnd3dWU1UWFoYW5objF1SHQ2SmRoZm9hWiIsInByZXZpZXdVcmwiOiJibG9nLnR0aWVlLnRlY2giLCJuZXh0Q29tbWl0U3RhdHVzIjoiREVQTE9ZRUQifV19\n**The latest updates on your projects**. Learn more about [Vercel for Git ↗︎](https://vercel.link/github-learn-more)\n\n| Name | Status | Preview | Updated (UTC) |\n| :--- | :----- | :------ | :------ |\n| **ttiee-github-io** | ✅ Ready ([Inspect](https://vercel.com/ttie/ttiee-github-io/8mfJwwue5Qahanhn1uHt6JdhfoaZ)) | [Visit Preview](https://blog.ttiee.tech) | Dec 25, 2023 9:22am |\n\n", "reactions": { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868882612/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 8329, "slug": "vercel", "node_id": "MDM6QXBwODMyOQ==", "owner": { "login": "vercel", "id": 14985020, "node_id": "MDEyOk9yZ2FuaXphdGlvbjE0OTg1MDIw", "avatar_url": "https://avatars.githubusercontent.com/u/14985020?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vercel", "html_url": "https://github.com/vercel", "followers_url": "https://api.github.com/users/vercel/followers", "following_url": "https://api.github.com/users/vercel/following{/other_user}", "gists_url": "https://api.github.com/users/vercel/gists{/gist_id}", "starred_url": "https://api.github.com/users/vercel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vercel/subscriptions", "organizations_url": "https://api.github.com/users/vercel/orgs", "repos_url": "https://api.github.com/users/vercel/repos", "events_url": "https://api.github.com/users/vercel/events{/privacy}", "received_events_url": "https://api.github.com/users/vercel/received_events", "type": "Organization", "site_admin": false }, "name": "Vercel", "description": "Vercel for GitHub automatically deploys your PRs to Vercel.\r\nPreview every PR live, without any configuration required.\r\n\r\nFor more information, see our [documentation](https://vercel.com/docs/github?utm_source=github&utm_medium=marketplace&utm_campaign=vercel-app).\r\n\r\n![](https://assets.vercel.com/image/upload/v1597943727/front/github/github-comment-monorepo.png)", "external_url": "https://vercel.com/github", "html_url": "https://github.com/apps/vercel", "created_at": "2018-01-19T21:51:06Z", "updated_at": "2022-05-17T21:26:30Z", "permissions": { "administration": "write", "checks": "write", "contents": "write", "deployments": "write", "emails": "read", "issues": "write", "members": "read", "metadata": "read", "pull_requests": "write", "repository_hooks": "write", "statuses": "write" }, "events": [ "deployment", "pull_request", "push" ] } }, { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868873647", "html_url": "https://github.com/ttiee/ttiee.github.io/issues/8#issuecomment-1868873647", "issue_url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/8", "id": 1868873647, "node_id": "IC_kwDOKr2Ssc5vZL-v", "user": { "login": "ttiee", "id": 98325911, "node_id": "U_kgDOBdxVlw", "avatar_url": "https://avatars.githubusercontent.com/u/98325911?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ttiee", "html_url": "https://github.com/ttiee", "followers_url": "https://api.github.com/users/ttiee/followers", "following_url": "https://api.github.com/users/ttiee/following{/other_user}", "gists_url": "https://api.github.com/users/ttiee/gists{/gist_id}", "starred_url": "https://api.github.com/users/ttiee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ttiee/subscriptions", "organizations_url": "https://api.github.com/users/ttiee/orgs", "repos_url": "https://api.github.com/users/ttiee/repos", "events_url": "https://api.github.com/users/ttiee/events{/privacy}", "received_events_url": "https://api.github.com/users/ttiee/received_events", "type": "User", "site_admin": false }, "created_at": "2023-12-25T09:07:01Z", "updated_at": "2023-12-25T09:07:01Z", "author_association": "OWNER", "body": "~~测试Gitalk~~", "reactions": { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868873647/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": null }, { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868832946", "html_url": "https://github.com/ttiee/ttiee.github.io/pull/4#issuecomment-1868832946", "issue_url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/4", "id": 1868832946, "node_id": "IC_kwDOKr2Ssc5vZCCy", "user": { "login": "netlify[bot]", "id": 40209326, "node_id": "MDM6Qm90NDAyMDkzMjY=", "avatar_url": "https://avatars.githubusercontent.com/in/13473?v=4", "gravatar_id": "", "url": "https://api.github.com/users/netlify%5Bbot%5D", "html_url": "https://github.com/apps/netlify", "followers_url": "https://api.github.com/users/netlify%5Bbot%5D/followers", "following_url": "https://api.github.com/users/netlify%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/netlify%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/netlify%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/netlify%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/netlify%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/netlify%5Bbot%5D/repos", "events_url": "https://api.github.com/users/netlify%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/netlify%5Bbot%5D/received_events", "type": "Bot", "site_admin": false }, "created_at": "2023-12-25T07:55:54Z", "updated_at": "2023-12-25T07:56:00Z", "author_association": "NONE", "body": "### Deploy Preview for *ttiee* ready!\n\n\n| Name | Link |\n|:-:|------------------------|\n|🔨 Latest commit | 79c2bfc0e2415c8ff9a9882f1a6ebcd9511b14b5 |\n|🔍 Latest deploy log | https://app.netlify.com/sites/ttiee/deploys/65893588e603960008b90b54 |\n|😎 Deploy Preview | [https://deploy-preview-4--ttiee.netlify.app](https://deploy-preview-4--ttiee.netlify.app) |\n|📱 Preview on mobile |
Toggle QR Code...

![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTQtLXR0aWVlLm5ldGxpZnkuYXBwIn0.5F9btvzqrxF6nBOhfCxDKpRgwxUzX0do8kDm728ibq0)

_Use your smartphone camera to open QR code link._
|\n---\n\n_To edit notification comments on pull requests, go to your [Netlify site configuration](https://app.netlify.com/sites/ttiee/configuration/deploys#deploy-notifications)._", "reactions": { "url": "https://api.github.com/repos/ttiee/ttiee.github.io/issues/comments/1868832946/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }, "performed_via_github_app": { "id": 13473, "slug": "netlify", "node_id": "MDM6QXBwMTM0NzM=", "owner": { "login": "netlify", "id": 7892489, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc4OTI0ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/7892489?v=4", "gravatar_id": "", "url": "https://api.github.com/users/netlify", "html_url": "https://github.com/netlify", "followers_url": "https://api.github.com/users/netlify/followers", "following_url": "https://api.github.com/users/netlify/following{/other_user}", "gists_url": "https://api.github.com/users/netlify/gists{/gist_id}", "starred_url": "https://api.github.com/users/netlify/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/netlify/subscriptions", "organizations_url": "https://api.github.com/users/netlify/orgs", "repos_url": "https://api.github.com/users/netlify/repos", "events_url": "https://api.github.com/users/netlify/events{/privacy}", "received_events_url": "https://api.github.com/users/netlify/received_events", "type": "Organization", "site_admin": false }, "name": "Netlify", "description": "Publish incredibly high performance websites and applications right from GitHub. The Netlify platform connects your repositories to an all-in-one workflow for global CDN deployment, continuous integration, and automatic (and free) HTTPS. Each time you commit changes, Netlify builds your site, prerenders markup, and optimizes assets on dedicated build infrastructure. Easily create an entirely automated workflow around any site generator such as Jekyll, Hugo, or Gatsby.\r\n\r\n## Features\r\n\r\n### Push your site live, directly from GitHub\r\nDeploy your site to an ultra-redundant global CDN that’s purpose built for serving pages and assets quickly and consistently.\r\n\r\n### Automate deployment\r\nNetlify’s built-in Continuous Deployment automatically runs your build commands and deploys the result whenever you push to your Git repository.\r\n\r\n### Add a custom domain\r\nPurchase domains and manage DNS zones and records right inside of Netlify.\r\n\r\n### HTTPS is automatic\r\nYour site will automatically be secured with a free TLS certificate from Let’s Encrypt.\r\n\r\n### Deploy Previews\r\nNetlify’s Deploy Previews streamlined your workflow by giving you a unique, permanent URL to check what your changes will be like in production whenever you submit a pull request.\r\n\r\n### And a lot more!\r\nNetlify includes solutions for forms, identity, and even custom functions powered by AWS Lambda. And all this functionality can be configured directly in your repo.\r\n", "external_url": "https://www.netlify.com", "html_url": "https://github.com/apps/netlify", "created_at": "2018-06-12T15:16:51Z", "updated_at": "2023-03-08T17:02:55Z", "permissions": { "checks": "write", "contents": "read", "emails": "read", "issues": "write", "metadata": "read", "pull_requests": "write", "statuses": "write" }, "events": [ "create", "delete", "issue_comment", "pull_request", "pull_request_review", "pull_request_review_comment", "push" ] } } ] ```
ttiee commented 6 months ago

似乎是如果有其他的issue會導致這裏獲取到的e.bady部分匹配不到url 導致t爲null

image

下面的是兩個api 正常評論:https://api.github.com/repos/ttiee/ttiee.github.io/issues/38 非正常:https://api.github.com/repos/ttiee/ttiee.github.io/issues/41
jerryc127 commented 6 months ago

https://github.com/jerryc127/hexo-theme-butterfly/commit/6a99a80758ed8809cd5be8b1f00e2fd34f969119