24 lines
720 B
JavaScript
24 lines
720 B
JavaScript
const path = require('path');
|
|
const router = require('express').Router();
|
|
|
|
router.get('/', (req, res) => {
|
|
res.sendFile(path.join(__dirname, '../../../public/startseite/startseite.html'));
|
|
})
|
|
|
|
router.get('/example', (req, res) => {
|
|
res.sendFile(path.join(__dirname, '../../../public/example/index.html'));
|
|
})
|
|
|
|
router.get('/login', (req, res) => {
|
|
res.sendFile(path.join(__dirname, '../../../public/login/login.html'));
|
|
})
|
|
|
|
router.get('/registrieren', (req, res) => {
|
|
res.sendFile(path.join(__dirname, '../../../public/registrieren/registrieren.html'));
|
|
})
|
|
|
|
router.get('/kontakt', (req, res) => {
|
|
res.sendFile(path.join(__dirname, '../../../public/Kontakt/kontakt.html'));
|
|
})
|
|
|
|
module.exports = router; |