mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-09-12 12:12:14 +08:00
allow custom claude api url (#644)
This commit is contained in:
@@ -103,6 +103,17 @@ function ApiUrl({ config, updateConfig }) {
|
||||
}}
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
{t('Custom Claude API Url')}
|
||||
<input
|
||||
type="text"
|
||||
value={config.customClaudeApiUrl}
|
||||
onChange={(e) => {
|
||||
const value = e.target.value
|
||||
updateConfig({ customClaudeApiUrl: value })
|
||||
}}
|
||||
/>
|
||||
</label>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user