fix: 再次修复服务器更新相关逻辑
This commit is contained in:
1 parent
23a824ad50
commit
934bc15cb8
2 files changed
+4
-4
No files matched your search
@@ -6,7 +6,7 @@ export default defineEventHandler(async (event) => {
|
||||
const file = data.get('file') as File
|
||||
const buffer = await file.arrayBuffer()
|
||||
const uint8Array = new Uint8Array(buffer)
|
||||
fs.writeFileSync('./.output.tar.gz', uint8Array, {
|
||||
fs.writeFileSync('./output.tar.gz', uint8Array, {
|
||||
flag: 'w',
|
||||
})
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in new issue
Block a user