This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
const assetRoot = '/tts/piper-wasm-v1/onnx/';
|
||||
|
||||
export function createOnnxWasmPaths(origin) {
|
||||
const absoluteAssetRoot = new URL(assetRoot, origin).href;
|
||||
return absoluteAssetRoot;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user