Merge pull request 'Route Kommentare hinzugefügt.' (#48) from feature/scripts_auslagern into develop

Reviewed-on: https://gitea.vexhosting.dynv6.net/Berufsschule/Webshop/pulls/48
This commit is contained in:
gitfreeking 2025-05-01 07:01:30 +00:00
commit 2784c0f2c6
2 changed files with 4 additions and 2 deletions

View File

@ -190,6 +190,7 @@
} }
</script> </script>
<!-- Footer wird dynamisch geladen --> <!-- Footer wird dynamisch geladen -->
<div id="footer"></div> <div id="footer"></div>
</div> </div>

View File

@ -16,7 +16,7 @@ router.get('/registrieren', (req, res) => {
res.sendFile(path.join(__dirname, '../../../public/registrieren/registrieren.html')); res.sendFile(path.join(__dirname, '../../../public/registrieren/registrieren.html'));
}) })
// Route - HeaderFooter // Route - HeaderFooter Skript
router.get('/header_footer', (req, res) => { router.get('/header_footer', (req, res) => {
res.sendFile(path.join(__dirname, '../../../scripts/einfügenHeaderFooter.js')); res.sendFile(path.join(__dirname, '../../../scripts/einfügenHeaderFooter.js'));
}) })
@ -66,13 +66,14 @@ router.get('/bestellformular', (req, res) => {
res.sendFile(path.join(__dirname, '../../../public/bestellformular/bestellformular.html')); res.sendFile(path.join(__dirname, '../../../public/bestellformular/bestellformular.html'));
}) })
// Route - Bestellungen
router.get('/bestellung', (req, res) => { router.get('/bestellung', (req, res) => {
res.sendFile(path.join(__dirname, '../../../public/bestellung/bestellung.html')); res.sendFile(path.join(__dirname, '../../../public/bestellung/bestellung.html'));
}) })
// Route - Kontaktformular
router.get('/kontaktformular', (req, res) => { router.get('/kontaktformular', (req, res) => {
res.sendFile(path.join(__dirname, '../../../public/kontaktformular/kontaktformular.html')); res.sendFile(path.join(__dirname, '../../../public/kontaktformular/kontaktformular.html'));
}) })
module.exports = router; module.exports = router;