UnknownSec Bypass
403
:
/
var
/
www
/
stp-bhaktisagar-backend
/
src
/
routes
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
home.routes.js
const express = require("express"); const homeController = require("../controllers/home.controller"); const router = express.Router(); const checkAuth = require("../middleware/check-auth"); router.get("/", homeController.loginView); router.post("/login-post", homeController.loginPost); router.get("/logout", homeController.logout); router.get("/dashboard", checkAuth(), homeController.dashboardView); router.get("/video", checkAuth(), homeController.VideoView); router.get("/add-video/:id?", checkAuth(), homeController.addVideoView); router.get("/video-playlist", checkAuth(), homeController.videoPlaylistView); router.get( "/add-video-playlist/:id?", checkAuth(), homeController.addVideoPlaylistView ); router.get( "/video-collections", checkAuth(), homeController.videoCollectionsView ); router.get( "/add-video-collection/:id?", checkAuth(), homeController.addVideoCollectionView ); router.get("/audio", checkAuth(), homeController.audioView); router.get("/add-audio/:id?", checkAuth(), homeController.addAudioView); router.get("/playlist", checkAuth(), homeController.playlistView); router.get("/add-playlist/:id?", checkAuth(), homeController.addPlaylistView); router.get("/audio-collections", checkAuth(), homeController.collectionsView); router.get( "/add-audio-collection/:id?", checkAuth(), homeController.addCollectionView ); router.get("/contacts", checkAuth(), homeController.contactsView); router.get("/privacy-policy", homeController.privacyPolicyView); router.get("/slider", checkAuth(), homeController.sliderView); router.get("/events", checkAuth(), homeController.eventsView); router.get("/add-event/:id?", checkAuth(), homeController.addEventView); router.get("/book", checkAuth(), homeController.BookView); router.get("/add-book/:id?", checkAuth(), homeController.addBookView); router.get("/book-category", checkAuth(), homeController.bookCategoryView); router.get( "/add-book-category/:id?", checkAuth(), homeController.addBookCategoryView ); router.get( "/book-collections", checkAuth(), homeController.bookCollectionsView ); router.get( "/add-book-collection/:id?", checkAuth(), homeController.addBookCollectionView ); module.exports = router;
Copyright © 2025 - UnknownSec