Skip to content

fix: return short-link configs directly - #438

Closed
dajiaohuang wants to merge 1 commit into
7Sageer:mainfrom
dajiaohuang:fix/issue-417-shortlink
Closed

dajiaohuang wants to merge 1 commit into
7Sageer:mainfrom
dajiaohuang:fix/issue-417-shortlink

Conversation

@dajiaohuang

Copy link
Copy Markdown

变更

  • 短链在 Worker 内部调用对应的转换路由,直接返回最终配置,不再 302 到可能很长的 URL。
  • 保留 User-Agent 与 Accept-Language;覆盖 /b、/c、/s、/x。
  • 加入包含超过 20 KB 规则参数的本地合成回归测试,验证 HTTP 200 且没有 Location。

验证

  • npm test -- test/issue-417-shortlink.test.js:1 个文件、1 个测试通过。
  • 全程使用本地 Memory KV 和合成代理;无真实订阅抓取或部署。

Related to #417 (short-link behavior).

@vercel

vercel Bot commented Oct 21, 2026

Copy link
Copy Markdown

@dajiaohuang is attempting to deploy a commit to the 7sageer's projects Team on Vercel.

A member of the Team first needs to authorize it.

@7Sageer 7Sageer closed this Oct 21, 2026
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