|
async function zipFile(zip: JSZip, filePath: string) {
|
|
async function zipFile(zip: JSZip, filePath: string) {
|
|
zip.file(filePath.replace('/view', ''), res, { createFolders: true });
|
|
zip.file(filePath.replace('/view', ''), res, { createFolders: true });
|