Remove base url from sample server and properly handle url schemes

This commit is contained in:
Aria 2025-11-20 12:46:29 -06:00 committed by W-A-James
parent 9fdba6374c
commit d70b758065
No known key found for this signature in database
GPG key ID: 2CE8DBC07DABE749
4 changed files with 16 additions and 6 deletions

View file

@ -55,7 +55,6 @@ async function getBanks(directory, flat = false) {
banks[bank].push(subDir);
return subDir;
});
banks._base = `http://localhost:${PORT}`;
return { banks, files };
}