mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
The initial GitLab subgroup fix treated all multi-segment HTTPS paths as full repo paths, regressing GHE and generic host subdir installs like github.mycompany.com/org/repo/path/to/skill. Add host-based heuristic: hosts containing "gitlab" use full-path-as-repo behavior; all other hosts retain the original 2-segment owner/repo split with remainder as subdir. This preserves backward compatibility for GHE, Gitea, Gogs, and other non-GitLab platforms while correctly handling GitLab nested subgroups.