Add @sofa/native Expo React Native app (#7)

This commit is contained in:
2026-03-12 19:39:54 -04:00
committed by GitHub
parent a326c968b7
commit 83839a0cd7
130 changed files with 9015 additions and 971 deletions
+2 -2
View File
@@ -29,14 +29,14 @@ app.get("/:filename", async (c) => {
}
const file = Bun.file(backupPath);
const buffer = await file.arrayBuffer();
return new Response(new Uint8Array(buffer), {
return new Response(file.stream(), {
status: 200,
headers: {
"Content-Type": "application/x-sqlite3",
"Content-Disposition": `attachment; filename="${safe}"`,
"Content-Length": String(file.size),
"Cache-Control": "no-store",
},
});
});