Merge commit '1c2654320e5b6268b13b6efca40ce37a523d032b'

This commit is contained in:
Laisky.Cai
2024-04-28 01:53:31 +00:00
162 changed files with 1351 additions and 731 deletions

View File

@@ -137,6 +137,12 @@ export const CHANNEL_OPTIONS = {
value: 36,
color: 'primary'
},
38: {
key: 38,
text: 'DeepL',
value: 38,
color: 'primary'
},
8: {
key: 8,
text: '自定义渠道',

View File

@@ -15,7 +15,7 @@ const Footer = () => {
<div className="custom-footer" dangerouslySetInnerHTML={{ __html: siteInfo.footer_html }}></div>
) : (
<>
<Link href="https://github.com/Laisky/one-api" target="_blank">
<Link href="https://github.com/songquanpeng/one-api" target="_blank">
{siteInfo.system_name} {process.env.REACT_APP_VERSION}{' '}
</Link>
{' '}

View File

@@ -41,7 +41,7 @@ const About = () => {
<Typography variant="body2">
可在设置页面设置关于内容支持 HTML & Markdown <br />
项目仓库地址
<a href="https://github.com/Laisky/one-api">https://github.com/Laisky/one-api</a>
<a href="https://github.com/songquanpeng/one-api">https://github.com/songquanpeng/one-api</a>
</Typography>
</MainCard>
</Container>

View File

@@ -26,7 +26,7 @@ const BaseIndex = () => (
<Button
variant="contained"
startIcon={<GitHub />}
href="https://github.com/Laisky/one-api"
href="https://github.com/songquanpeng/one-api"
target="_blank"
sx={{ backgroundColor: '#24292e', color: '#fff', width: 'fit-content', boxShadow: '0 3px 5px 2px rgba(255, 105, 135, .3)' }}
>

View File

@@ -106,7 +106,7 @@ const OtherSetting = () => {
};
const openGitHubRelease = () => {
window.location = 'https://github.com/Laisky/one-api/releases/latest';
window.location = 'https://github.com/songquanpeng/one-api/releases/latest';
};
const checkUpdate = async () => {