fix paths

This commit is contained in:
Mateo Körber Belmonte
2025-02-19 15:24:00 +01:00
parent 42f15683b5
commit 83566300cd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ const csvWriter = createCsvWriter({
// Serve the client-side HTML
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'public', 'vote.html'));
res.sendFile(path.join(__dirname, '../frontend/public', 'vote.html'));
});
// Handle form submission
+1 -1
View File
@@ -74,6 +74,6 @@
</div>
</div>
<div id="thank-you-message" style="display: none; margin-top: -420px; font-size: 5rem;">Vielen Dank für Ihr Feedback!</div>
<script src="vote.js"></script>
<script src="src/vote.js"></script>
</body>
</html>