beatrun-courses-server-docker/routes/upload.js
2024-08-29 09:48:27 +05:00

13 lines
265 B
JavaScript

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;