fix:增加seo优化
This commit is contained in:
@@ -20,3 +20,6 @@ VITE_SSO_SEVER_URL='http://localhost:18001'
|
|||||||
# SSO_SEVER_URL='http://ccnetcore.com'
|
# SSO_SEVER_URL='http://ccnetcore.com'
|
||||||
# SSO单点登录项目标识
|
# SSO单点登录项目标识
|
||||||
VITE_SSO_CLIENT_ID='YiXin-Ai';
|
VITE_SSO_CLIENT_ID='YiXin-Ai';
|
||||||
|
|
||||||
|
# 版本号
|
||||||
|
VITE_APP_VERSION='1.0.0';
|
||||||
|
|||||||
@@ -20,5 +20,7 @@ VITE_BUILD_COMPRESS = gzip
|
|||||||
VITE_SSO_SEVER_URL='https://ccnetcore.com'
|
VITE_SSO_SEVER_URL='https://ccnetcore.com'
|
||||||
# SSO单点登录项目标识
|
# SSO单点登录项目标识
|
||||||
VITE_SSO_CLIENT_ID='YiXin-Ai';
|
VITE_SSO_CLIENT_ID='YiXin-Ai';
|
||||||
|
# 版本号
|
||||||
|
VITE_APP_VERSION='1.0.0';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,13 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="description" content="意心AI:一站式多模型 AI 平台,提供 GPT-4o、DeepSeek 等服务" />
|
||||||
|
<meta name="description" content="各大主流AI无限制使用,直连,AI,claude ,DeepSeek,open-ai" />
|
||||||
|
<meta name="keywords" content="意心AI, GPT-4.5, 多模型AI, AI工具" />
|
||||||
|
<meta name="keywords" content="橙子,chengzi,橙子老哥,ccnetcore,意社区" />
|
||||||
|
<meta name="author" content="橙子,chengzi,橙子老哥,ccnetcore" />
|
||||||
|
<meta name="version" content="%VITE_APP_VERSION%" />
|
||||||
|
<meta name="version" content="%VITE_WEB_TITLE%" />
|
||||||
<title>%VITE_WEB_TITLE%</title>
|
<title>%VITE_WEB_TITLE%</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
@@ -9,6 +9,7 @@ interface ImportMetaEnv {
|
|||||||
readonly VITE_BUILD_COMPRESS: string;
|
readonly VITE_BUILD_COMPRESS: string;
|
||||||
readonly VITE_SSO_SEVER_URL: string;
|
readonly VITE_SSO_SEVER_URL: string;
|
||||||
readonly VITE_SSO_CLIENT_ID: string;
|
readonly VITE_SSO_CLIENT_ID: string;
|
||||||
|
readonly VITE_APP_VERSION: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare interface ImportMeta {
|
declare interface ImportMeta {
|
||||||
|
|||||||
@@ -2,8 +2,10 @@ import { defineConfig, loadEnv } from "vite";
|
|||||||
import path from "path";
|
import path from "path";
|
||||||
import plugins from "./.build/plugins";
|
import plugins from "./.build/plugins";
|
||||||
|
|
||||||
|
|
||||||
// https://vite.dev/config/
|
// https://vite.dev/config/
|
||||||
export default defineConfig((cnf) => {
|
export default defineConfig((cnf) => {
|
||||||
|
|
||||||
const { mode } = cnf;
|
const { mode } = cnf;
|
||||||
const env = loadEnv(mode, process.cwd());
|
const env = loadEnv(mode, process.cwd());
|
||||||
const { VITE_APP_ENV } = env;
|
const { VITE_APP_ENV } = env;
|
||||||
|
|||||||
Reference in New Issue
Block a user