Skip to content

Commit

Permalink
fix(route/weibo): Solve the problem that Weibo Radar rules cannot be …
Browse files Browse the repository at this point in the history
…generated correctly (#17144)

* 修复配置 ACCESS_KEY 导致 healthcheck 失败的问题

* 修复微博Radar规则未正确生成的问题

* Revert "修复配置 ACCESS_KEY 导致 healthcheck 失败的问题"

This reverts commit 6f81cbc.

---------

Co-authored-by: linzhikang <linzhikang@bytedance.com>
  • Loading branch information
bestlzk and linzhikang authored Oct 18, 2024
1 parent 9f44e77 commit 692c66e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/routes/weibo/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ export const route: Route = {
},
radar: [
{
source: ['m.weibo.cn/u/:uid', 'm.weibo.cn/profile/:uid', 'weibo.com/u/:uid', 'www.weibo.com/u/:uid'],
source: ['m.weibo.cn/u/:uid', 'm.weibo.cn/profile/:uid'],
target: '/user/:uid',
},
{
source: ['weibo.com/u/:uid'],
target: '/user/:uid',
},
{
source: ['www.weibo.com/u/:uid'],
target: '/user/:uid',
},
],
Expand Down

0 comments on commit 692c66e

Please sign in to comment.