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

fix(route/discourse): Replace got with ofetch. #15169

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

dzx-dzx
Copy link
Contributor

@dzx-dzx dzx-dzx commented Apr 9, 2024

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/discourse/0/notifications

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions bot added Route Auto: Route Test Complete Auto route test has finished on given PR labels Apr 9, 2024
Copy link
Contributor

github-actions bot commented Apr 9, 2024

Successfully generated as following:

http://localhost:1200/discourse/0/notifications - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">ConfigNotFoundError: Discourse RSS is disabled due to the lack of &lt;a href=&quot;https://docs.rsshub.app/deploy/&quot;&gt;relevant config&lt;/a&gt;</code>
Route: <code class="ml-2 bg-zinc-100">/discourse/:configId/notifications/:fulltext?</code>
Full Route: <code class="ml-2 bg-zinc-100">/discourse/0/notifications</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.2</code>
Git Hash: <code class="ml-2 bg-zinc-100">f377d745</code>

@TonyRL TonyRL merged commit f14ae66 into DIYgod:master Apr 9, 2024
27 checks passed
@dzx-dzx dzx-dzx deleted the discourse-ofetch branch April 9, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto: Route Test Complete Auto route test has finished on given PR Route
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants