Skip to content

Commit

Permalink
remove tail slash on url (#3316)
Browse files Browse the repository at this point in the history
BC-4908-remove tail slash on url
  • Loading branch information
muratmerdoglu-dp committed Oct 2, 2023
1 parent 6168b3d commit 2c876ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2c876ea

Please sign in to comment.