wealth/apps/bull/src/configs/site.ts

7 lines
258 B
TypeScript

import { clientEnv } from '../env';
/** A path on this site as people read and type it, without the scheme: «lumina.ir/@sara_gold». */
export function displayUrl(path: string): string {
return `${new URL(clientEnv.NEXT_PUBLIC_SITE_URL).host}${path}`;
}