ineo6 / git-master

Git Master Extension for git file tree, support GitHub、GitLab 、 Gitee、Gitea、Gogs
MIT License
482 stars 34 forks source link

插件不支持子路径下的gitea #47

Open Faputa opened 3 years ago

Faputa commented 3 years ago

我们的gitea是部署在域名下的git子路径下的,但是插件不能识别到这一点,因此在请求gitea api的时候出现404

如何重现 重现步骤: 安装gitea 将gitea映射到任一子目录,比如git,参考https://docs.gitea.io/zh-cn/reverse-proxies/#使用-nginx-作为反向代理服务并将-gitea-路由至一个子路径 在浏览器中打开gitea,开启插件

截图 image

环境信息:

ineo6 commented 3 years ago

感谢反馈,目前代码默认没有兼容多级路径的情况,会计划集中处理下。

------------------ 原始邮件 ------------------ 发件人: basecell <notifications@github.com> 发送时间: 2020年11月12日 11:50 收件人: ineo6/git-master <git-master@noreply.github.com> 抄送: Subscribed <subscribed@noreply.github.com> 主题: 回复:[ineo6/git-master] 插件不支持子路径下的gitea (#47)

panwolv commented 3 years ago

gitlab应该也是类似情况。公司内网部署的gitlab,https://192.168.1.1这种形式的就能打开,而如果根路径加了一级,比如是https://192.168.1.1/gitlab,就无法展示目录。 感谢开发人员的付出,很不错的插件。