subweb 是基于 subconverter 订阅转换的前端项目,方便用户快速生成各平台的订阅链接.
Go to file
Stille 7f278eacec
fix typo
2023-12-24 00:29:17 +08:00
public update v2.0 2023-12-13 17:28:31 +08:00
src fix typo 2023-12-24 00:29:17 +08:00
workflows update v2.0 2023-12-13 17:28:31 +08:00
.browserslistrc add subweb 2022-07-01 14:32:25 +08:00
.env update v2.0 2023-12-13 17:28:31 +08:00
.eslintrc.js update v2.0 2023-12-13 17:28:31 +08:00
.gitignore update v2.0 2023-12-13 17:28:31 +08:00
.prettierrc.js update v2.0 2023-12-13 17:28:31 +08:00
Dockerfile update v2.0 2023-12-13 17:28:31 +08:00
LICENSE Initial commit 2022-07-01 11:44:40 +08:00
README.md update v2.0 2023-12-13 17:28:31 +08:00
babel.config.js add subweb 2022-07-01 14:32:25 +08:00
jsconfig.json add subweb 2022-07-01 14:32:25 +08:00
package-lock.json update v2.0 2023-12-13 17:28:31 +08:00
package.json update v2.0 2023-12-13 17:28:31 +08:00
start.sh update to support short url 2022-08-05 13:51:40 +08:00
vue.config.js update v2.0 2023-12-13 17:28:31 +08:00

README.md

subweb for Vercel

Vercel 快速部署

为方便 docker 用户方便挂载或环境变量部署,默认main分支不支持Vercel,需要fork仓库少许设置才能部署至Vercel.

  1. 首先 fork 本仓库, 注意取消勾选Copy the main branch only
  2. 在 fork 后的仓库 Settings - General -Default branch 选择 vercel 为默认分支.
  3. 登录 Vercel 创建新的 Project, 选择你 fork 的 subweb 仓库.
  4. 根据需求设置 Environment Variables, 参考.env文件.
  5. 点击 deploy 开始部署,立即点击右下角 Cancel Deployment 取消部署。
  6. 回到 Vercel 项目 Settings - General - Node.js Version 设置为16.x - Save 保存.
  7. 回到 Vercel 项目 Deployments - 过滤下拉菜单 Status 中勾选 Cancelled - 将显示的刚才取消的部署记录, 进行 Redeploy 重新部署.
  8. 如有更多修改或不想使用环境变量的方式进行设置,请自行修改public/conf/config.js文件.

其他更多信息请查看main分支