mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-15 00:17:53 +00:00
feat: initialize wheelofnames API
This commit is contained in:
1 parent
194caf17eb
commit
3f5ed700bb
41 files changed
+5031
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import {ensureBrowser} from '@remotion/renderer';
|
||||
|
||||
const status = await ensureBrowser({logLevel: 'warn'});
|
||||
|
||||
if (status.type === 'no-browser' || status.type === 'version-mismatch') {
|
||||
throw new Error(`Unable to prepare Remotion browser, status: ${status.type}`);
|
||||
}
|
||||
|
||||
console.log(`browser: ${status.type}`);
|
||||
Reference in new issue
Block a user