mirror of
https://github.com/Matewoo/tablet-web-survey.git
synced 2026-11-18 13:52:47 +01:00
yeah
This commit is contained in:
@@ -44,6 +44,10 @@ app.get('/', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, '../frontend/public', 'vote.html'));
|
||||
});
|
||||
|
||||
app.get('/statistics', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, 'public', 'statistics.html'));
|
||||
});
|
||||
|
||||
// Handle form submission
|
||||
app.post('/submit', (req, res) => {
|
||||
let date = new Date().toLocaleString('de-DE', { timeZone: 'Europe/Berlin' }).replace('"', '').replace(',', '');
|
||||
|
||||
Reference in New Issue
Block a user