mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: firecrawl apikey not start with fc- (#5498)
This commit is contained in:
parent
f67b164b0d
commit
3bbd75f1f2
|
@ -51,9 +51,6 @@ const ConfigFirecrawlModal: FC<Props> = ({
|
|||
field: 'API Key',
|
||||
})
|
||||
}
|
||||
else if (!config.api_key.startsWith('fc-')) {
|
||||
errorMsg = t(`${I18N_PREFIX}.apiKeyFormatError`)
|
||||
}
|
||||
}
|
||||
|
||||
if (errorMsg) {
|
||||
|
|
|
@ -13,8 +13,7 @@ const translation = {
|
|||
},
|
||||
firecrawl: {
|
||||
configFirecrawl: 'Configure 🔥Firecrawl',
|
||||
apiKeyPlaceholder: 'API key from firecrawl.dev, starting with "fc-"',
|
||||
apiKeyFormatError: 'API key should start with "fc-"',
|
||||
apiKeyPlaceholder: 'API key from firecrawl.dev',
|
||||
getApiKeyLinkText: 'Get your API key from firecrawl.dev',
|
||||
},
|
||||
stepOne: {
|
||||
|
|
|
@ -13,8 +13,7 @@ const translation = {
|
|||
},
|
||||
firecrawl: {
|
||||
configFirecrawl: '🔥फायरक्रॉल को कॉन्फ़िगर करें',
|
||||
apiKeyPlaceholder: 'firecrawl.dev से API कुंजी, "fc-" से शुरू होती है',
|
||||
apiKeyFormatError: 'API कुंजी "fc-" से शुरू होनी चाहिए',
|
||||
apiKeyPlaceholder: 'firecrawl.dev से API कुंजी',
|
||||
getApiKeyLinkText: 'firecrawl.dev से अपनी API कुंजी प्राप्त करें',
|
||||
},
|
||||
stepOne: {
|
||||
|
|
|
@ -13,8 +13,7 @@ const translation = {
|
|||
},
|
||||
firecrawl: {
|
||||
configFirecrawl: '配置 🔥Firecrawl',
|
||||
apiKeyPlaceholder: '从 firecrawl.dev 获取 API Key,以 "fc-" 开头',
|
||||
apiKeyFormatError: 'API Key 应以 "fc-" 开头',
|
||||
apiKeyPlaceholder: '从 firecrawl.dev 获取 API Key',
|
||||
getApiKeyLinkText: '从 firecrawl.dev 获取您的 API Key',
|
||||
},
|
||||
stepOne: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user