Update ios_license_controller.ts

This commit is contained in:
nguyentrungthat 2025-12-29 16:59:05 +07:00
parent dd32246f9f
commit e55951d42c
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export default class IosLicenseController {
/* ================= DOWNLOAD ================= */
async downloadIos({ params, response }: HttpContext) {
const filePath = path.join('"storage/ios"', params.filename)
const filePath = path.join('storage/ios', params.filename)
if (!fs.existsSync(filePath)) {
return response.notFound('File not found')
@ -70,7 +70,7 @@ export default class IosLicenseController {
}
async downloadLicense({ params, response }: HttpContext) {
const filePath = path.join('"storage/license"', params.filename)
const filePath = path.join('storage/license', params.filename)
if (!fs.existsSync(filePath)) {
return response.notFound('File not found')