@bobfrankston/mailx 1.0.94 → 1.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -123,7 +123,7 @@ ${accountInfo.map((a) => `<tr><td>${a.name}</td><td>${a.folders}</td><td>${a.inb
123
123
  </body></html>`);
124
124
  });
125
125
  // Graceful exit — close IMAP, DB, HTTP then exit
126
- app.post("/api/exit", (req, res) => {
126
+ app.all("/api/exit", (req, res) => {
127
127
  res.json({ ok: true });
128
128
  setTimeout(() => shutdown(), 100);
129
129
  });