Update ios_license_controller.ts
This commit is contained in:
parent
dd32246f9f
commit
e55951d42c
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue