mirror of
https://github.com/netfun2000/rttys_zhaojh329.git
synced 2026-02-27 09:53:24 +08:00
fix: frontend: build fail
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
const buf: Array<Buffer> = new Array<Buffer>();
|
||||
|
||||
const b = Buffer.alloc(4);
|
||||
b.writeUInt32BE(file.size)
|
||||
b.writeUInt32BE(file.size, 0)
|
||||
buf.push(b);
|
||||
|
||||
buf.push(Buffer.from(file.name));
|
||||
|
||||
Reference in New Issue
Block a user