beatrun-courses-server-docker/routes/upload.js

14 lines
265 B
JavaScript
Raw Normal View History

2024-08-29 09:48:27 +05:00
const express = require("express"),
router = express.Router();
const { isUser } = require("../utils/functions");
router.get("/", isUser, async (req, res) => {
res.render("upload", {
user: req.user,
locals: req.app.locals,
});
});
module.exports = router;