Add digital catalog with shareable flipbook and ktg.montzar.ir deploy files.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/** Minimal JPEG (SOI + EOI) used only for API/storage tests. */
|
||||
export const TINY_JPEG = Buffer.from([0xff, 0xd8, 0xff, 0xd9]);
|
||||
|
||||
export const TINY_PNG = Buffer.from([
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
|
||||
]);
|
||||
|
||||
export function jpegFile(name = "page.jpg"): File {
|
||||
return new File([TINY_JPEG], name, { type: "image/jpeg" });
|
||||
}
|
||||
Reference in New Issue
Block a user