git-master icon indicating copy to clipboard operation
git-master copied to clipboard

fix: support working when gitea url contains subpaths

Open Charles94jp opened this issue 3 years ago • 3 comments

fix: #47 因为自己也在用Gtiea,使用nginx反向代理时添加了子路径,程序判断用户名和仓库名出错,所以修复了一下。最大支持形如/g/xxx/v/的三个子路径。 除了插件界面最上方的用户名/仓库名的链接地址不正确外,其余的Gitea功能正常。

Charles94jp avatar Feb 16 '22 16:02 Charles94jp

我试了下,如果没有子目录反而会有问题。

https://gitea.com//api/v1/repos/dukanyilunfanhua/sp?_=1648799453390

ineo6 avatar Apr 01 '22 08:04 ineo6

修复了~ https://github.com/ineo6/git-master/pull/90/commits

Charles94jp avatar Apr 01 '22 09:04 Charles94jp

同样的问题,希望能支持子路径。这个pr还会更新吗?

Makonike avatar Sep 25 '22 11:09 Makonike