mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
fix: 复制完整Claude配置按钮增加export
This commit is contained in:
@@ -230,8 +230,8 @@ const copyFullConfig = async () => {
|
||||
}
|
||||
|
||||
// 构建环境变量配置格式
|
||||
const configText = `ANTHROPIC_BASE_URL="${currentBaseUrl.value}"
|
||||
ANTHROPIC_AUTH_TOKEN="${key}"`
|
||||
const configText = `export ANTHROPIC_BASE_URL="${currentBaseUrl.value}"
|
||||
export ANTHROPIC_AUTH_TOKEN="${key}"`
|
||||
|
||||
await copyTextWithFallback(configText, '配置信息已复制到剪贴板')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user