diff --git a/app.js b/app.js index 6422822..9262b47 100644 --- a/app.js +++ b/app.js @@ -6,7 +6,7 @@ const { logger } = require('./src/js/logger.js'); const favicon = require('serve-favicon'); const app = express(); const port = process.env.PORT || 3512; -require('./src/js/utils.js') +require('./src/js/utils.js'); app.set('trust proxy', true); @@ -971,7 +971,10 @@ app.post('/api/log', (req, res) => { logData = req.body; } else { // If no parsable data found, create a basic log entry - logData = { eventType: 'unknown', timestamp: global.Utils.toIsoString(new Date()) }; + logData = { + eventType: 'unknown', + timestamp: global.Utils.toIsoString(new Date()), + }; } // Enrich log with server-side data diff --git a/src/index.html b/src/index.html index f086ee4..0f5da49 100644 --- a/src/index.html +++ b/src/index.html @@ -156,11 +156,11 @@