mirror of https://github.com/langgenius/dify.git
fix url of webapp
This commit is contained in:
parent
300909341e
commit
7eeffb16e2
|
|
@ -83,7 +83,7 @@ function AppCard({
|
|||
: t('appOverview.overview.apiInfo.title')
|
||||
const runningStatus = isApp ? appInfo.enable_site : appInfo.enable_api
|
||||
const { app_base_url, access_token } = appInfo.site ?? {}
|
||||
const appMode = appInfo.mode === ('completion' || appInfo.mode === 'workflow') ? 'completion' : 'chat'
|
||||
const appMode = (appInfo.mode === 'completion' || appInfo.mode === 'workflow') ? 'completion' : 'chat'
|
||||
const appUrl = `${app_base_url}/${appMode}/${access_token}`
|
||||
const apiUrl = appInfo?.api_base_url
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue