- Added HTTP server with CORS support and various endpoints - Introduced http_tx/http_rx channels for HTTP server control - Cleaned up build.rs by removing commented code - Updated .gitignore to use *.rdb pattern instead of .rdb - Simplified capabilities.json to empty object - Improved UI initialization with better error handling - Reorganized module imports in main.rs - Added worker count configuration for HTTP server The changes introduce a new HTTP server capability while cleaning up and improving existing code structure. The HTTP server includes authentication, session management, and websocket support.
10 lines
173 B
JavaScript
10 lines
173 B
JavaScript
export function createMailStore() {
|
|
return {
|
|
selected: null,
|
|
setSelected(id) {
|
|
this.selected = id;
|
|
}
|
|
};
|
|
}
|
|
|
|
export const mailStore = createMailStore();
|