fix: update repository links

This commit is contained in:
Laisky.Cai
2025-01-26 12:29:20 +00:00
parent 92a21f64eb
commit 303ab407d0
5 changed files with 8 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ func (a *Adaptor) SetupRequestHeader(c *gin.Context, req *http.Request, meta *me
}
req.Header.Set("Authorization", "Bearer "+meta.APIKey)
if meta.ChannelType == channeltype.OpenRouter {
req.Header.Set("HTTP-Referer", "https://github.com/songquanpeng/one-api")
req.Header.Set("HTTP-Referer", "https://github.com/Laisky/one-api")
req.Header.Set("X-Title", "One API")
}
return nil