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,19 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Test</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ asset('vendor/basement/basement.bundle.min.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test</h1>
|
||||
|
||||
@auth
|
||||
<x-basement::chat-box />
|
||||
@endauth
|
||||
|
||||
<script src="{{ asset('vendor/basement/basement.bundle.min.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user