From acca7f645c68ab78edb91b32c07eadcf14f8aff4 Mon Sep 17 00:00:00 2001 From: paxo-rch Date: Thu, 14 Nov 2024 12:20:36 +0100 Subject: [PATCH] again --- app/Controllers/Http/AppsController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Controllers/Http/AppsController.ts b/app/Controllers/Http/AppsController.ts index 66f9f56..8161a75 100644 --- a/app/Controllers/Http/AppsController.ts +++ b/app/Controllers/Http/AppsController.ts @@ -48,7 +48,6 @@ export default class AppsController { public async createProcess({ auth, request, response }: HttpContextContract) { const data = request.body() - let imgUrl: string const img = request.file('img') if (!auth.user) return response.status(403) @@ -58,7 +57,7 @@ export default class AppsController { await img.moveToDisk('/appicons', { name: filename }) - imgUrl = process.env.ACCESS_ADDRESS + "/uploads/appicons/" + filename + //imgUrl = process.env.ACCESS_ADDRESS + "/uploads/appicons/" + filename } await App.create({