From 2c876ea59f3cd1d6f54729b2abb0f97733d27c11 Mon Sep 17 00:00:00 2001 From: Murat Merdoglu <64781656+muratmerdoglu-dp@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:32:33 +0200 Subject: [PATCH] remove tail slash on url (#3316) BC-4908-remove tail slash on url --- controllers/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/files.js b/controllers/files.js index d8b1a3f2dd..218cedec46 100644 --- a/controllers/files.js +++ b/controllers/files.js @@ -707,7 +707,7 @@ router.get('/courses/:courseId/:folderId?', FileGetter, async (req, res, next) = courseId: req.params.courseId, ownerId: req.params.courseId, toCourseText: res.$t('global.button.toCourse'), - courseUrl: `/rooms/${req.params.courseId}/`, + courseUrl: `/rooms/${req.params.courseId}`, canEditPermissions: true, parentId: req.params.folderId, ...res.locals.files,