Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support working when gitea url contains subpaths #90

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Charles94jp
Copy link

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

@ineo6
Copy link
Owner

ineo6 commented Apr 1, 2022

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

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

@Charles94jp
Copy link
Author

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

@Makonike
Copy link

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

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.

插件不支持子路径下的gitea
3 participants