source: src/routes/index.js@ 7517a3a

main
Last change on this file since 7517a3a was 7517a3a, checked in by Luka Krstikj <luka.krstik@…>, 18 hours ago

init

  • Property mode set to 100644
File size: 316 bytes
Line 
1const express = require('express');
2const router = express.Router();
3
4const adminRoutes = require('./adminRoutes');
5const clientRoutes = require('./clientRoutes');
6
7router.get('/', (req, res) => {
8 res.render('index');
9});
10
11router.use('/admin', adminRoutes);
12router.use('/', clientRoutes);
13
14module.exports = router;
Note: See TracBrowser for help on using the repository browser.