修改国内镜像源

This commit is contained in:
2026-05-21 22:43:41 +08:00
parent f35b04096d
commit 27b207d0d5
9 changed files with 12 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ FROM --platform=$BUILDPLATFORM golang:1.24.3-alpine AS builder
WORKDIR /src
ENV CGO_ENABLED=0
ENV GOPROXY=https://goproxy.cn,direct
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/go/pkg/mod \

View File

@@ -2,6 +2,7 @@ FROM --platform=$BUILDPLATFORM golang:1.24.3-alpine AS builder
WORKDIR /src
ENV CGO_ENABLED=0
ENV GOPROXY=https://goproxy.cn,direct
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/go/pkg/mod \

View File

@@ -8,7 +8,7 @@ import (
const (
SettingKeySystemPrompt = "system_prompt"
SettingBlockWords = "block_words"
SettingCopyrightInfo = "本网站由 PandaWiki 提供技术支持"
SettingCopyrightInfo = "本网站由 YouduWiki 提供技术支持"
)
// table: settings

View File

@@ -5,6 +5,8 @@
FROM node:22-alpine AS builder
ENV PNPM_REGISTRY=https://registry.npmmirror.com
WORKDIR /build
# 安装 pnpm

View File

@@ -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

View File

@@ -119,7 +119,7 @@ const CardQaCopyright = ({
<TextField
fullWidth
{...field}
placeholder='本网站由 PandaWiki 提供技术支持'
placeholder='本网站由 YouduWiki 提供技术支持'
error={!!errors.copyright_info}
helperText={errors.copyright_info?.message}
onChange={event => {

View File

@@ -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 => {

View File

@@ -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>

View File

@@ -213,7 +213,7 @@ const Widget = () => {
>
<Box>
{widget?.settings?.widget_bot_settings?.copyright_info ||
'本网站由 PandaWiki 提供技术支持'}
'本网站由 YouduWiki 提供技术支持'}
</Box>
</Typography>
</Box>