From 7ddf7af0f71ad7dff5b358323f486ad8ea96f52d Mon Sep 17 00:00:00 2001
From: JJ-Choi1999 <2486595624@qq.com>
Date: Wed, 30 Apr 2025 15:42:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89?=
=?UTF-8?q?=E6=89=80=E6=9C=89=E6=9D=83=E4=BF=A1=E6=81=AF=EF=BC=88=E5=A6=82?=
=?UTF-8?q?=E6=9E=9C=E5=AD=98=E5=9C=A8=E5=AF=B9=E5=BA=94=E7=89=88=E6=9D=83?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=9A=84=E8=AF=9D=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/app/install/page.tsx | 3 ++-
web/app/signin/layout.tsx | 3 ++-
web/config/index.ts | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
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.`