This commit is contained in:
sijinhui 2024-08-18 20:44:47 +08:00
parent 9c68cea749
commit 0d363e8aa2
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
name: PRO DEPLOY name: BUILD DOCKER IMAGE
on: on:
workflow_dispatch: workflow_dispatch:
push: # push:
branches: # branches:
- main # - main
# paths: # paths:
# - 'app/**' # - 'app/**'
# - 'public/**' # - 'public/**'

View File

@ -1,4 +1,4 @@
FROM sijinhui/chatgpt-next-web:buildcache as deps FROM sijinhui/chatgpt-next-web:buildcache AS deps
WORKDIR /app WORKDIR /app

View File

@ -250,8 +250,8 @@ function _MarkDownContent(props: { content: string }) {
], ],
]} ]}
components={{ components={{
pre: PreCode, pre: PreCode as any,
code: CustomCode, code: CustomCode as any,
p: (pProps) => <p {...pProps} dir="auto" />, p: (pProps) => <p {...pProps} dir="auto" />,
a: (aProps) => { a: (aProps) => {
const href = aProps.href || ""; const href = aProps.href || "";