修改国内镜像源
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
FROM node:22-alpine AS builder
|
||||
|
||||
ENV PNPM_REGISTRY=https://registry.npmmirror.com
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# 安装 pnpm
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
# ============================================
|
||||
# PandaWiki Wiki 用户端 - 多阶段构建
|
||||
# YouduWiki Wiki 用户端 - 多阶段构建
|
||||
# 构建上下文: ./web 目录
|
||||
# ============================================
|
||||
|
||||
FROM node:22-alpine AS builder
|
||||
|
||||
ENV PNPM_REGISTRY=https://registry.npmmirror.com
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# 安装 pnpm
|
||||
|
||||
@@ -119,7 +119,7 @@ const CardQaCopyright = ({
|
||||
<TextField
|
||||
fullWidth
|
||||
{...field}
|
||||
placeholder='本网站由 PandaWiki 提供技术支持'
|
||||
placeholder='本网站由 YouduWiki 提供技术支持'
|
||||
error={!!errors.copyright_info}
|
||||
helperText={errors.copyright_info?.message}
|
||||
onChange={event => {
|
||||
|
||||
@@ -644,7 +644,7 @@ const CardRobotWebComponent = ({ kb }: CardRobotWebComponentProps) => {
|
||||
<TextField
|
||||
fullWidth
|
||||
{...field}
|
||||
placeholder='本网站由 PandaWiki 提供技术支持'
|
||||
placeholder='本网站由 YouduWiki 提供技术支持'
|
||||
error={!!errors.copyright_info}
|
||||
helperText={errors.copyright_info?.message}
|
||||
onChange={event => {
|
||||
|
||||
@@ -270,7 +270,7 @@ const QaModal: React.FC<QaModalProps> = () => {
|
||||
{!kbDetail?.settings?.conversation_setting
|
||||
?.copyright_hide_enabled &&
|
||||
(kbDetail?.settings?.conversation_setting?.copyright_info ||
|
||||
'本网站由 PandaWiki 提供技术支持')}
|
||||
'本网站由 YouduWiki 提供技术支持')}
|
||||
</Box>
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
@@ -213,7 +213,7 @@ const Widget = () => {
|
||||
>
|
||||
<Box>
|
||||
{widget?.settings?.widget_bot_settings?.copyright_info ||
|
||||
'本网站由 PandaWiki 提供技术支持'}
|
||||
'本网站由 YouduWiki 提供技术支持'}
|
||||
</Box>
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user