mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-12 23:33:43 +08:00
22 lines
627 B
TypeScript
22 lines
627 B
TypeScript
/**
|
|
* Site Configuration
|
|
* Handles environment variables for site branding and customization
|
|
*/
|
|
|
|
export interface SiteConfig {
|
|
title: string;
|
|
description: string;
|
|
name: string;
|
|
}
|
|
|
|
/**
|
|
* Site configuration object
|
|
* Uses environment variables with fallback to default values
|
|
* Note: NEXT_PUBLIC_ environment variables are statically embedded at build time
|
|
*/
|
|
export const siteConfig: SiteConfig = {
|
|
title: process.env.NEXT_PUBLIC_SITE_TITLE || "KVideo - 视频聚合平台",
|
|
description: process.env.NEXT_PUBLIC_SITE_DESCRIPTION || "视频聚合平台",
|
|
name: process.env.NEXT_PUBLIC_SITE_NAME || "KVideo",
|
|
};
|