chore(env): siteUrl 改为 SITE_URL 环境变量,支持 test/prod 多环境构建

This commit is contained in:
2026-06-15 15:59:54 +08:00
parent 5e9ea45730
commit 41f35e6cb8
2 changed files with 3 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import fs from 'node:fs'
import path from 'node:path'
import type { HeadConfig, SiteConfig, TransformContext } from 'vitepress'
const siteUrl = 'https://seotest.gongxue100.com'
const siteUrl = process.env.SITE_URL || 'http://localhost:5173'
const siteName = '恭学教育集团'
const defaultOgImage = 'https://fenxiang-1304851894.cos.ap-nanjing.myqcloud.com/%E5%B0%81%E9%9D%A2.png'
const defaultKeywords = '天津专升本,专升本培训,恭学教育,天津专升本刷题,专升本网校,天津专升本教材,专升本辅导,天津专升本报名,专升本真题,天津专升本课程'