Fix v1.1.0: Analytics, Sessions, and Error Handling Improvements
This commit is contained in:
1 parent
7d8470df84
commit
545cf4c8dc
200 files changed
+91013
-18521
No files matched your search
@@ -1,5 +1,7 @@
|
||||
// Enhanced Analytics API endpoint for the Spelling Practice App
|
||||
|
||||
module.exports = function(app, DATA_DIR, files, readJsonSafe, path) {
|
||||
|
||||
// Get analytics data with additional metrics
|
||||
app.get('/getAnalytics', (req, res) => {
|
||||
try {
|
||||
@@ -162,3 +164,5 @@ app.get('/getAnalytics', (req, res) => {
|
||||
res.status(500).send('Error generating analytics data');
|
||||
}
|
||||
});
|
||||
|
||||
}; // Close the module.exports function
|
||||
Reference in new issue
Block a user