feat: Implement tabbed settings dashboard (System Settings and Mail Settings)

This commit is contained in:
Tola Leng
2025-05-24 02:59:34 +08:00
parent 616148f794
commit f483fbd2ee
2 changed files with 75 additions and 0 deletions
+4
View File
@@ -1,6 +1,7 @@
// API routes handler
import realtime from './realtime';
import settingsApi from './settings';
/**
* Simple API router for client-side application
@@ -16,6 +17,9 @@ const api = {
if (path === '/api/realtime') {
console.log("Routing to realtime handler");
return await realtime(body);
} else if (path === '/api/settings') {
console.log("Routing to settings handler");
return await settingsApi(body);
}
// Return 404 for unknown routes