Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 818 Bytes

vercel.md

File metadata and controls

20 lines (12 loc) · 818 Bytes

Vercel 部署

Deploy with Vercel

配置: Vercel 配置 TV_MIXPROXY_CFG_URL 环境变量来指定配置文件的 URL。配置文件可以使用以下几种方式来存储:

  1. Vercel Blob
  2. Github + jsDelivr CDN
  3. 其他

定时刷新

Vercel 支持定时刷新,可以在 vercel.json 中配置定时刷新任务。由于 Hobby 免费版账号 Cron 次数有限,如果开启来 Pro 建议 Frok 修改。或其他定时工具通过接口触发

需要配置 TV_MIXPROXY_SECRET 环境变量

curl -X GET -H "X-TV-MIXPROXY-SECRET: <token>" https://tv-mixproxy.vercel.app/refresh_source