feat: change repo links

This commit is contained in:
shinya
2025-08-13 01:20:06 +08:00
parent 48d1be771d
commit 2ed32f5896
3 changed files with 3 additions and 3 deletions

View File

@@ -1388,7 +1388,7 @@ const ConfigFileComponent = ({ config, refreshConfig }: { config: AdminConfig |
disabled={saving}
className={`px-4 py-2 rounded-lg transition-colors ${saving
? 'bg-gray-400 cursor-not-allowed text-white'
: 'bg-blue-600 hover:bg-blue-700 text-white'
: 'bg-green-600 hover:bg-green-700 text-white'
}`}
>
{saving ? '保存中…' : '保存配置文件'}

View File

@@ -58,7 +58,7 @@ export const VersionPanel: React.FC<VersionPanelProps> = ({
const fetchRemoteChangelog = async () => {
try {
const response = await fetch(
'https://codeberg.org/LunaTechLab/MoonTV/raw/branch/main/CHANGELOG'
'https://raw.githubusercontent.com/MoonTechLab/LunaTV/main/CHANGELOG'
);
if (response.ok) {
const content = await response.text();

View File

@@ -13,7 +13,7 @@ export enum UpdateStatus {
// 远程版本检查URL配置
const VERSION_CHECK_URLS = [
'https://codeberg.org/LunaTechLab/MoonTV/raw/branch/main/VERSION.txt',
'https://raw.githubusercontent.com/MoonTechLab/LunaTV/main/VERSION.txt',
];
/**