chore: 清除多余log,修复部署脚本
This commit is contained in:
parent
f47d07d526
commit
d0c9255c20
|
|
@ -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],
|
||||
|
|
|
|||
|
|
@ -1096,8 +1096,10 @@ export const PromptInputSubmit = ({
|
|||
Icon = <SquareIcon className="size-4" />;
|
||||
text = "停止";
|
||||
} else if (status === "error") {
|
||||
// 没有报错状态,先用error状态代替
|
||||
Icon = <XIcon className="size-4" />;
|
||||
text = "错误";
|
||||
// MARK: 这里后端没有返回错误信息,先写死一个文本
|
||||
text = "发送";
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -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..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue