Skip to content

Commit

Permalink
Update mediaController.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
camarm-dev authored Apr 1, 2023
1 parent 4d7dbca commit c176683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/Controllers/mediaController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {

const router: Router = express.Router();

router.get("/:media", async (req, res) => {
router.get("/:media", async (req, res, next) => {
const media = req.params['media']
const localPath = `public/media/${media}`
if (fs.existsSync(localPath)) {
Expand Down

0 comments on commit c176683

Please sign in to comment.