You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix linting errors, server actions config, and chat history functionality
- Fixed switch clause declaration issue in app/actions.tsx by wrapping case block in curly braces
- Removed empty interface and empty object pattern in chat-history-client.tsx
- Added SERVER_ACTIONS_ALLOWED_ORIGINS environment variable support
- Updated next.config.mjs to read allowed origins from environment with fallback
- Fixed getChats function to properly filter by user_id and sort by created_at
- Ensured chat history is retained and displayed correctly in Supabase
All SQL migration files remain unchanged as requested.
0 commit comments