Fix: Install page redirects to signin if Dify finished setup. (#762)

This commit is contained in:
Matri 2023-08-07 13:19:47 +08:00 • committed by GitHub
commit 6242e91a6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 139 additions and 117 deletions

View file

@ -6,6 +6,11 @@ export type OauthResponse = {
redirect_url: string
}
export type SetupStatusResponse = {
step: 'finished' | 'not_started'
setup_at?: Date
}
export type UserProfileResponse = {
id: string
name: string