Add password reset localization and chat configuration
- Implemented German and English localization for password reset functionality. - Added WebSocket URL resolution logic in chat services to support various environments and configurations. - Created centralized chat configuration for event keys and payload mappings. - Developed RoomsView component for admin chat room management, including create, edit, and delete functionalities.
This commit is contained in:
6
frontend/src/api/chatApi.js
Normal file
6
frontend/src/api/chatApi.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import apiClient from "@/utils/axios.js";
|
||||
|
||||
export const fetchPublicRooms = async () => {
|
||||
const response = await apiClient.get("/api/chat/rooms");
|
||||
return response.data; // expecting array of { id, title, ... }
|
||||
};
|
||||
Reference in New Issue
Block a user