From f3d16c0f7f365eb3646a9173d4e22aed48deb6ad Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Tue, 22 Nov 2022 12:34:01 +0100 Subject: [PATCH] - file.controller.ts: file download url "/api/file/.." instead of "/file/.." --- src/controllers/file.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/file.controller.ts b/src/controllers/file.controller.ts index 708fb63..f7210c6 100644 --- a/src/controllers/file.controller.ts +++ b/src/controllers/file.controller.ts @@ -5,7 +5,7 @@ import { Request, Response } from "express"; import * as path from "path"; import * as fs from "fs"; -@Controller("file") +@Controller("api/file") export class FileController { // constructor() {}