mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
beginning of large-scale redesign
This commit is contained in:
13
server/routes/router.js
Normal file
13
server/routes/router.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
const path = require('path');
|
||||
|
||||
router.get('/', function (request, response) {
|
||||
response.sendFile(path.join(__dirname, '../../client/views/home.html'));
|
||||
});
|
||||
|
||||
router.get('/create', function (request, response) {
|
||||
response.sendFile(path.join(__dirname, '../../client/views/create.html'));
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
Reference in New Issue
Block a user