Commit 8e18562c by Archer Committed by GitHub

update version doc (#5106)

* update version doc

* fix: provider

* version doc

* perf: provider
parent aafc0cef
...@@ -133,15 +133,15 @@ services: ...@@ -133,15 +133,15 @@ services:
# fastgpt # fastgpt
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -151,8 +151,8 @@ services: ...@@ -151,8 +151,8 @@ services:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.9.13 # git image: ghcr.io/labring/fastgpt:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
......
...@@ -109,15 +109,15 @@ services: ...@@ -109,15 +109,15 @@ services:
# fastgpt # fastgpt
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -127,8 +127,8 @@ services: ...@@ -127,8 +127,8 @@ services:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.9.13 # git image: ghcr.io/labring/fastgpt:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
......
...@@ -96,15 +96,15 @@ services: ...@@ -96,15 +96,15 @@ services:
# fastgpt # fastgpt
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -114,8 +114,8 @@ services: ...@@ -114,8 +114,8 @@ services:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.9.13 # git image: ghcr.io/labring/fastgpt:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
......
...@@ -72,15 +72,15 @@ services: ...@@ -72,15 +72,15 @@ services:
sandbox: sandbox:
container_name: sandbox container_name: sandbox
image: ghcr.io/labring/fastgpt-sandbox:v4.9.13 # git image: ghcr.io/labring/fastgpt-sandbox:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.14 # 阿里云
networks: networks:
- fastgpt - fastgpt
restart: always restart: always
fastgpt-mcp-server: fastgpt-mcp-server:
container_name: fastgpt-mcp-server container_name: fastgpt-mcp-server
image: ghcr.io/labring/fastgpt-mcp_server:v4.9.13 # git image: ghcr.io/labring/fastgpt-mcp_server:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.14 # 阿里云
ports: ports:
- 3005:3000 - 3005:3000
networks: networks:
...@@ -90,8 +90,8 @@ services: ...@@ -90,8 +90,8 @@ services:
- FASTGPT_ENDPOINT=http://fastgpt:3000 - FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt: fastgpt:
container_name: fastgpt container_name: fastgpt
image: ghcr.io/labring/fastgpt:v4.9.13 # git image: ghcr.io/labring/fastgpt:v4.9.14 # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.13 # 阿里云 # image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.14 # 阿里云
ports: ports:
- 3000:3000 - 3000:3000
networks: networks:
......
--- ---
title: 'V4.9.14(进行中)' title: 'V4.9.14'
description: 'FastGPT V4.9.14 更新说明' description: 'FastGPT V4.9.14 更新说明'
icon: 'upgrade' icon: 'upgrade'
draft: false draft: false
...@@ -7,6 +7,15 @@ toc: true ...@@ -7,6 +7,15 @@ toc: true
weight: 786 weight: 786
--- ---
## 更新指南
### 1. 更新镜像:
- 更新 FastGPT 镜像 tag: v4.9.14
- 更新 FastGPT 商业版镜像 tag: v4.9.14
- mcp_server 无需更新
- Sandbox 无需更新
- AIProxy 无需更新
## 🚀 新增内容 ## 🚀 新增内容
......
...@@ -127,6 +127,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => { ...@@ -127,6 +127,7 @@ const FormLayout = ({ children, setPageType, pageType }: Props) => {
router.replace(redirectUrl, '_self'); router.replace(redirectUrl, '_self');
return; return;
} }
if (item.redirectUrl) { if (item.redirectUrl) {
setLoginStore({ setLoginStore({
provider: item.provider as OAuthEnum, provider: item.provider as OAuthEnum,
......
...@@ -5,8 +5,10 @@ import { authCert } from '@fastgpt/service/support/permission/auth/common'; ...@@ -5,8 +5,10 @@ import { authCert } from '@fastgpt/service/support/permission/auth/common';
import { delUserAllSession } from '@fastgpt/service/support/user/session'; import { delUserAllSession } from '@fastgpt/service/support/user/session';
async function handler(req: NextApiRequest, res: NextApiResponse<any>) { async function handler(req: NextApiRequest, res: NextApiResponse<any>) {
try {
const { userId } = await authCert({ req, authToken: true }); const { userId } = await authCert({ req, authToken: true });
await delUserAllSession(userId); await delUserAllSession(userId);
} catch (error) {}
clearCookie(res); clearCookie(res);
} }
......
...@@ -33,7 +33,7 @@ const provider = () => { ...@@ -33,7 +33,7 @@ const provider = () => {
(res: ResLogin) => { (res: ResLogin) => {
setUserInfo(res.user); setUserInfo(res.user);
router.push( router.replace(
loginStore?.lastRoute ? decodeURIComponent(loginStore?.lastRoute) : '/dashboard/apps' loginStore?.lastRoute ? decodeURIComponent(loginStore?.lastRoute) : '/dashboard/apps'
); );
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment