everydaycats commited on
Commit
bb85bb8
·
verified ·
1 Parent(s): 570e8f9

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -71,7 +71,7 @@ function extractImagePrompt(text) {
71
  * CLEANUP MEMORY
72
  * Call this via Cron Job or manually to free up RAM
73
  */
74
- app.post('/admin/cleanup', async (req, res) => {
75
  try {
76
  const removed = StateManager.cleanupMemory();
77
  res.json({ success: true, removedCount: removed, message: `Cleaned ${removed} inactive projects from memory.` });
 
71
  * CLEANUP MEMORY
72
  * Call this via Cron Job or manually to free up RAM
73
  */
74
+ app.get('/admin/cleanup', async (req, res) => {
75
  try {
76
  const removed = StateManager.cleanupMemory();
77
  res.json({ success: true, removedCount: removed, message: `Cleaned ${removed} inactive projects from memory.` });