diff --git a/BACKEND/app/controllers/ios_license_controller.ts b/BACKEND/app/controllers/ios_license_controller.ts index 62a135a..8009e9e 100644 --- a/BACKEND/app/controllers/ios_license_controller.ts +++ b/BACKEND/app/controllers/ios_license_controller.ts @@ -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')