Merge branch 'main' into glossing/return-shape-to-sd

This commit is contained in:
Aria 2025-10-23 03:44:44 +02:00
commit 0c9f535ff5
10 changed files with 423 additions and 17 deletions

View file

@ -129,9 +129,7 @@ function githubPath(base, subpath = '') {
let repo = components.length >= 2 ? components[1] : 'samples';
let branch = components.length >= 3 ? components[2] : 'main';
let other = components.slice(3);
if (subpath) {
other.push(subpath);
}
other.push(subpath ? subpath : '');
other = other.join('/');
return `https://raw.githubusercontent.com/${user}/${repo}/${branch}/${other}`;