Oliver-ai-bot_2.0/frontend/lib/utils.ts
Vadym Samoilenko e3c3f75c5a Add frontend/lib/utils.ts (cn helper), fix CORS_ORIGINS parsing
- lib/utils.ts: shadcn/ui cn() utility (clsx + tailwind-merge)
- config.py: accept comma-separated strings for CORS_ORIGINS and
  TRUSTED_HOSTS (e.g. "https://example.com,http://localhost:3000")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:27:50 +00:00

6 lines
169 B
TypeScript

import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}