mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: use ecoding
This commit is contained in:
1 parent
bcda936585
commit
a4f2902365
1 file changed
+4
-2
@@ -63,8 +63,10 @@ export async function tankModels(production: boolean) {
|
|||||||
|
|
||||||
changes.push({
|
changes.push({
|
||||||
path: `3d/tanks/models/${id}.glb`,
|
path: `3d/tanks/models/${id}.glb`,
|
||||||
content: Buffer.from(await nodeIO.writeBinary(model)).toString('base64'),
|
content: Buffer.from(await nodeIO.writeBinary(model)).toString(
|
||||||
format: 'base64',
|
'base64',
|
||||||
|
),
|
||||||
|
encoding: 'base64',
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user