From 3e9368a0095b3d926e25421b0eb421ca18dfd246 Mon Sep 17 00:00:00 2001 From: Ethan Liu Date: Sat, 2 Sep 2023 20:54:31 +0800 Subject: [PATCH] Fix: [#6](https://github.com/LTopx/Le-AI/issues/6) --- CHANGE_LOG.md | 8 ++++++++ CHANGE_LOG.zh_CN.md | 8 ++++++++ package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ src/app/layout.tsx | 3 +-- 5 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGE_LOG.md b/CHANGE_LOG.md index cd50210..2bb8686 100755 --- a/CHANGE_LOG.md +++ b/CHANGE_LOG.md @@ -1,5 +1,13 @@ # Le-AI Change Log +## v0.9.1 + +> 2023-09-02 + +### Fixed + +- Fixed: issue of missing metadataBase and env variable [#6](https://github.com/LTopx/Le-AI/issues/6) + ## v0.9.0 > 2023-09-01 diff --git a/CHANGE_LOG.zh_CN.md b/CHANGE_LOG.zh_CN.md index 1ae2170..ad7f19b 100755 --- a/CHANGE_LOG.zh_CN.md +++ b/CHANGE_LOG.zh_CN.md @@ -1,5 +1,13 @@ # Le-AI 更新日志 +## v0.9.1 + +> 2023-09-02 + +### 修复 + +- 修复 issue of missing metadataBase and env variable [#6](https://github.com/LTopx/Le-AI/issues/6) + ## v0.9.0 > 2023-09-01 diff --git a/package.json b/package.json index 7e132d7..3bf3d5c 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@react-email/components": "0.0.7", "@react-email/render": "0.0.7", "@svgr/webpack": "8.1.0", - "@types/node": "20.5.7", + "@types/node": "20.5.8", "@types/react": "18.2.21", "@types/react-dom": "18.2.7", "@upstash/redis": "1.22.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 823ba28..3d51d85 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ dependencies: specifier: 5.2.0 version: 5.2.0(prisma@5.2.0) '@radix-ui/react-label': - specifier: ^2.0.2 + specifier: 2.0.2 version: 2.0.2(@types/react-dom@18.2.7)(@types/react@18.2.21)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-popover': specifier: 1.0.6 @@ -36,8 +36,8 @@ dependencies: specifier: 8.1.0 version: 8.1.0 '@types/node': - specifier: 20.5.7 - version: 20.5.7 + specifier: 20.5.8 + version: 20.5.8 '@types/react': specifier: 18.2.21 version: 18.2.21 @@ -3473,13 +3473,13 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: false - /@types/node@20.5.7: - resolution: {integrity: sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==} + /@types/node@20.5.8: + resolution: {integrity: sha512-eajsR9aeljqNhK028VG0Wuw+OaY5LLxYmxeoXynIoE6jannr9/Ucd1LL0hSSoafk5LTYG+FfqsyGt81Q6Zkybw==} /@types/nodemailer@6.4.9: resolution: {integrity: sha512-XYG8Gv+sHjaOtUpiuytahMy2mM3rectgroNbs6R3djZEKmPNiIJwe9KqOJBGzKKnNZNKvnuvmugBgpq3w/S0ig==} dependencies: - '@types/node': 20.5.7 + '@types/node': 20.5.8 dev: true /@types/parse-json@4.0.0: diff --git a/src/app/layout.tsx b/src/app/layout.tsx index bbaafdf..2dd676e 100755 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -44,14 +44,13 @@ export const metadata: Metadata = { userScalable: false, }, appleWebApp: { capable: true, title: "Le-AI" }, - metadataBase: new URL(process.env.NEXT_PUBLIC_METABASE_URL as string), openGraph: { title: "Le-AI | An AI Assitant Hub", description: "Le-AI is an open-source project that helps you improve your learning, work, and life efficiency by providing various AI models.", url: "https://le-ai.app", siteName: "Le-AI", - locale: "zh_CN", + locale: "en_US", type: "website", images: { url: "https://le-ai.app/opengraph-image.png?v=2",