feat: Add internal chat system and network access support
- Add messages table schema with soft delete support - Add message service, controller and routes - Update CORS to allow local network IPs - Update server to listen on 0.0.0.0 - Fix cookie sameSite for local network development Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,9 +11,9 @@ const start = async () => {
|
||||
await testConnection();
|
||||
logger.success('Database connected');
|
||||
|
||||
// Start server
|
||||
app.listen(port, () => {
|
||||
logger.info(`Server running on http://localhost:${port}`);
|
||||
// Start server - listen on all interfaces for network access
|
||||
app.listen(port, '0.0.0.0', () => {
|
||||
logger.info(`Server running on http://0.0.0.0:${port}`);
|
||||
startAllCronJobs();
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user