Fix local AI checks and consent caching
Build and publish static assets / publish (push) Failing after 4s
Build and publish static assets / publish (push) Failing after 4s
This commit is contained in:
@@ -130,7 +130,7 @@ for (const file of voiceFiles) {
|
||||
const downloaded = join(output, 'voices', file.path);
|
||||
if ((await stat(downloaded)).size !== file.size) throw new Error(`Missing verified voice file: ${file.path}`);
|
||||
}
|
||||
console.log(`Static Piper assets prepared at ${output}`);
|
||||
console.log(`Static voice and local AI assets prepared at ${output}`);
|
||||
|
||||
async function downloadVerified(url, destination, expectedSize, expectedSha256) {
|
||||
await mkdir(join(destination, '..'), {recursive: true});
|
||||
|
||||
Reference in New Issue
Block a user