Merge branch 'feat/r2' into deploy/rag-dev

This commit is contained in:
jyong
2025-06-11 17:16:52 +08:00
8 changed files with 81 additions and 21 deletions
+6
View File
@@ -12,12 +12,18 @@ const Layout: FC<{
}> = ({ children }) => {
const isGlobalPending = useGlobalPublicStore(s => s.isGlobalPending)
const setWebAppAccessMode = useGlobalPublicStore(s => s.setWebAppAccessMode)
const systemFeatures = useGlobalPublicStore(s => s.systemFeatures)
const pathname = usePathname()
const searchParams = useSearchParams()
const redirectUrl = searchParams.get('redirect_url')
const [isLoading, setIsLoading] = useState(true)
useEffect(() => {
(async () => {
if (!systemFeatures.webapp_auth.enabled) {
setIsLoading(false)
return
}
let appCode: string | null = null
if (redirectUrl)
appCode = redirectUrl?.split('/').pop() || null
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dify-web",
"version": "1.4.1",
"version": "1.4.2",
"private": true,
"engines": {
"node": ">=v22.11.0"