mirror of
https://github.com/Matewoo/tablet-web-survey.git
synced 2026-11-18 13:52:47 +01:00
fix paths
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user