Fix v1.1.0: Analytics, Sessions, and Error Handling Improvements

This commit is contained in:
nate@necloud.us committed 2025-08-13 19:02:55 -04:00
1 parent 7d8470df84
commit 545cf4c8dc
200 files changed
+91013 -18521

No files matched your search

+5 -1
View File
@@ -2,6 +2,8 @@
* Spaced Repetition System API endpoints for the Spelling Practice App
*/
module.exports = function(app, DATA_DIR, files, readJsonSafe, fs, path) {
// Get spaced repetition data
app.get('/getSpacedRepetitionData', (req, res) => {
try {
@@ -154,4 +156,6 @@ function calculatePriority(wordData, today) {
return daysOverdue * (5 - wordData.easeFactor);
}
console.log('📚 Spaced repetition system endpoints initialized');
}; // Close the module.exports function
// Will be logged when the module is properly required