fix: firecrawl apikey not start with fc- (#5498)

This commit is contained in:
Joel 2024-06-22 11:52:53 +08:00 committed by GitHub
parent f67b164b0d
commit 3bbd75f1f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 9 deletions

View File

@ -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) {

View File

@ -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: {

View File

@ -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: {

View File

@ -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: {