diff --git a/frontend/src/app/workspace/chats/[thread_id]/page.tsx b/frontend/src/app/workspace/chats/[thread_id]/page.tsx
index e62d3fa8..332207e4 100644
--- a/frontend/src/app/workspace/chats/[thread_id]/page.tsx
+++ b/frontend/src/app/workspace/chats/[thread_id]/page.tsx
@@ -86,7 +86,7 @@ export default function ChatPage() {
// }
return searchParams.get("isnew")?.trim().toLowerCase() === "true";
}, [isNewThread, searchParams]);
- console.log(createNewSession, "createNewSession");
+ // console.log(createNewSession, "createNewSession");
const shouldStayOnNewRoute = useMemo(
() => searchParams.get("isnew")?.trim().toLowerCase() === "true",
[searchParams],
diff --git a/frontend/src/components/ai-elements/prompt-input.tsx b/frontend/src/components/ai-elements/prompt-input.tsx
index 9f8b02d2..4a26de18 100644
--- a/frontend/src/components/ai-elements/prompt-input.tsx
+++ b/frontend/src/components/ai-elements/prompt-input.tsx
@@ -1096,8 +1096,10 @@ export const PromptInputSubmit = ({
Icon = ;
text = "停止";
} else if (status === "error") {
+ // 没有报错状态,先用error状态代替
Icon = ;
- text = "错误";
+ // MARK: 这里后端没有返回错误信息,先写死一个文本
+ text = "发送";
}
return (
diff --git a/scripts/deploy-frontend-standalone.sh b/scripts/deploy-frontend-standalone.sh
index 1890439e..fd508496 100755
--- a/scripts/deploy-frontend-standalone.sh
+++ b/scripts/deploy-frontend-standalone.sh
@@ -55,14 +55,14 @@ rsync -azP --delete --info=progress2 \
"$REMOTE:$REMOTE_APP_DIR/frontend/.next/standalone/"
echo "==> Uploading static assets..."
-rsync -azP --delete --info=progress2 \
+rsync -azP --info=progress2 \
frontend/.next/static/ \
- "$REMOTE:$REMOTE_APP_DIR/frontend/.next/static/"
+ "$REMOTE:$REMOTE_APP_DIR/frontend/.next/standalone/.next/static/"
echo "==> Uploading public assets..."
-rsync -azP --delete --info=progress2 \
+rsync -azP --info=progress2 \
frontend/public/ \
- "$REMOTE:$REMOTE_APP_DIR/frontend/public/"
+ "$REMOTE:$REMOTE_APP_DIR/frontend/.next/standalone/public/"
if [ "$RESTART" = "--restart" ]; then
echo "==> Restarting DeerFlow on remote host..."