Commit 97bf1d85 authored by ckken's avatar ckken
Browse files

feat(ccswitch): use site_name as default provider name in import link

parent 207a493f
......@@ -1647,10 +1647,12 @@ const executeCcsImport = (row: ApiKey, clientType: 'claude' | 'gemini') => {
};
}
})`
const providerName = (publicSettings.value?.site_name || 'sub2api').trim() || 'sub2api'
const params = new URLSearchParams({
resource: 'provider',
app: app,
name: 'sub2api',
name: providerName,
homepage: baseUrl,
endpoint: endpoint,
apiKey: row.key,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment