mirror of
https://github.com/arkorty/DownLink.git
synced 2026-03-18 00:57:15 +00:00
feat: new frontend
This commit is contained in:
10
frontend-v2/lib/utils.ts
Normal file
10
frontend-v2/lib/utils.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { clsx, type ClassValue } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
|
||||
export function getApiBaseUrl() {
|
||||
return process.env.NEXT_PUBLIC_API_BASE_URL || "http://localhost:8080";
|
||||
}
|
||||
Reference in New Issue
Block a user