mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-18 01:26:37 +08:00
fix: update repository links
This commit is contained in:
parent
92a21f64eb
commit
303ab407d0
@ -20,8 +20,8 @@ var (
|
||||
|
||||
func printHelp() {
|
||||
fmt.Println("One API " + Version + " - All in one API service for OpenAI API.")
|
||||
fmt.Println("Copyright (C) 2023 JustSong. All rights reserved.")
|
||||
fmt.Println("GitHub: https://github.com/songquanpeng/one-api")
|
||||
fmt.Println("Copyright (C) 2025 JustSong. All rights reserved.")
|
||||
fmt.Println("GitHub: https://github.com/Laisky/one-api")
|
||||
fmt.Println("Usage: one-api [--port <port>] [--log-dir <log directory>] [--version] [--help]")
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -38,7 +38,7 @@ const Footer = () => {
|
||||
) : (
|
||||
<div className='custom-footer'>
|
||||
<a
|
||||
href='https://github.com/songquanpeng/one-api'
|
||||
href='https://github.com/Laisky/one-api'
|
||||
target='_blank'
|
||||
>
|
||||
{systemName} {process.env.REACT_APP_VERSION}{' '}
|
||||
|
@ -37,8 +37,8 @@ const About = () => {
|
||||
<Header as='h3'>About</Header>
|
||||
<p>You can set the content about in the settings page, support HTML & Markdown</p>
|
||||
Project Repository Address:
|
||||
<a href='https://github.com/songquanpeng/one-api'>
|
||||
https://github.com/songquanpeng/one-api
|
||||
<a href='https://github.com/Laisky/one-api'>
|
||||
https://github.com/Laisky/one-api
|
||||
</a>
|
||||
</Segment>
|
||||
</> : <>
|
||||
|
@ -69,10 +69,10 @@ const Home = () => {
|
||||
<p>
|
||||
Source code:
|
||||
<a
|
||||
href='https://github.com/songquanpeng/one-api'
|
||||
href='https://github.com/Laisky/one-api'
|
||||
target='_blank'
|
||||
>
|
||||
https://github.com/songquanpeng/one-api
|
||||
https://github.com/Laisky/one-api
|
||||
</a>
|
||||
</p>
|
||||
<p>Startup time:{getStartTimeString()}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user