add sampler script + samples folder with README

This commit is contained in:
Felix Roos 2024-03-30 04:42:45 +01:00
parent abe775c3fd
commit 8f355dcf96
7 changed files with 10 additions and 50 deletions

View file

@ -195,7 +195,7 @@ export const samples = async (sampleMap, baseUrl = sampleMap._base || '', option
sampleMap = githubPath(sampleMap, 'strudel.json');
}
if (sampleMap.startsWith('local:')) {
sampleMap = `/strudel.json`;
sampleMap = `http://localhost:5432`;
}
if (sampleMap.startsWith('shabda:')) {
let [_, path] = sampleMap.split('shabda:');