diff --git a/web/app/install/page.tsx b/web/app/install/page.tsx index f63fdf8443..ab3b36573f 100644 --- a/web/app/install/page.tsx +++ b/web/app/install/page.tsx @@ -2,6 +2,7 @@ import React from 'react' import Header from '../signin/_header' import InstallForm from './installForm' import cn from '@/utils/classnames' +import { POSSESSION_TEXT } from '@/config' const Install = () => { return ( @@ -10,7 +11,7 @@ const Install = () => {
- © {new Date().getFullYear()} LangGenius, Inc. All rights reserved. + { POSSESSION_TEXT || `© ${new Date().getFullYear()} LangGenius, Inc. All rights reserved.` }
diff --git a/web/app/signin/layout.tsx b/web/app/signin/layout.tsx index 1af4082c73..516e59f534 100644 --- a/web/app/signin/layout.tsx +++ b/web/app/signin/layout.tsx @@ -1,6 +1,7 @@ import Header from './_header' import cn from '@/utils/classnames' +import { POSSESSION_TEXT } from '@/config' export default async function SignInLayout({ children }: any) { return <> @@ -13,7 +14,7 @@ export default async function SignInLayout({ children }: any) {
- © {new Date().getFullYear()} LangGenius, Inc. All rights reserved. + { POSSESSION_TEXT || `© ${new Date().getFullYear()} LangGenius, Inc. All rights reserved.` }
diff --git a/web/config/index.ts b/web/config/index.ts index af4da76835..b11ff4582d 100644 --- a/web/config/index.ts +++ b/web/config/index.ts @@ -315,3 +315,5 @@ export const ENABLE_WEBSITE_FIRECRAWL = process.env.NEXT_PUBLIC_ENABLE_WEBSITE_F export const ENABLE_WEBSITE_WATERCRAWL = process.env.NEXT_PUBLIC_ENABLE_WEBSITE_WATERCRAWL !== undefined ? process.env.NEXT_PUBLIC_ENABLE_WEBSITE_WATERCRAWL === 'true' : globalThis.document?.body?.getAttribute('data-public-enable-website-watercrawl') === 'true' || true + +export const POSSESSION_TEXT = `© ${new Date().getFullYear()} Custom Subject, Inc. All rights reserved.`