git-master
git-master copied to clipboard
fix: support working when gitea url contains subpaths
fix: #47
因为自己也在用Gtiea,使用nginx反向代理时添加了子路径,程序判断用户名和仓库名出错,所以修复了一下。最大支持形如/g/xxx/v/的三个子路径。
除了插件界面最上方的用户名/仓库名的链接地址不正确外,其余的Gitea功能正常。
我试了下,如果没有子目录反而会有问题。
https://gitea.com//api/v1/repos/dukanyilunfanhua/sp?_=1648799453390
修复了~ https://github.com/ineo6/git-master/pull/90/commits
同样的问题,希望能支持子路径。这个pr还会更新吗?