mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-22 22:57:35 +08:00
feat: change repo links
This commit is contained in:
@@ -1388,7 +1388,7 @@ const ConfigFileComponent = ({ config, refreshConfig }: { config: AdminConfig |
|
|||||||
disabled={saving}
|
disabled={saving}
|
||||||
className={`px-4 py-2 rounded-lg transition-colors ${saving
|
className={`px-4 py-2 rounded-lg transition-colors ${saving
|
||||||
? 'bg-gray-400 cursor-not-allowed text-white'
|
? '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 ? '保存中…' : '保存配置文件'}
|
{saving ? '保存中…' : '保存配置文件'}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export const VersionPanel: React.FC<VersionPanelProps> = ({
|
|||||||
const fetchRemoteChangelog = async () => {
|
const fetchRemoteChangelog = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
'https://codeberg.org/LunaTechLab/MoonTV/raw/branch/main/CHANGELOG'
|
'https://raw.githubusercontent.com/MoonTechLab/LunaTV/main/CHANGELOG'
|
||||||
);
|
);
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
const content = await response.text();
|
const content = await response.text();
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export enum UpdateStatus {
|
|||||||
|
|
||||||
// 远程版本检查URL配置
|
// 远程版本检查URL配置
|
||||||
const VERSION_CHECK_URLS = [
|
const VERSION_CHECK_URLS = [
|
||||||
'https://codeberg.org/LunaTechLab/MoonTV/raw/branch/main/VERSION.txt',
|
'https://raw.githubusercontent.com/MoonTechLab/LunaTV/main/VERSION.txt',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user