Refactor chat functionality: remove ChatController, enhance MessageSent event with broadcasting capabilities, and update Conversation and Message models for improved relationships. Update API routes for chat operations and adjust CORS settings for broadcasting authentication.
This commit is contained in:
1 parent
b52b567388
commit
ccfffe6173
23 files changed
+425
-198
No files matched your search
+1
-1
@@ -15,7 +15,7 @@
|
||||
|
|
||||
*/
|
||||
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie'],
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie', 'broadcasting/auth'],
|
||||
|
||||
'allowed_methods' => ['*'],
|
||||
|
||||
|
||||
Reference in new issue
Block a user