This commit is contained in:
parent
47cf6171c5
commit
9ac43ef4f9
86 changed files with 119 additions and 80 deletions
|
@ -14,22 +14,22 @@ interface LanguageConfig {
|
|||
|
||||
const LANGUAGES: LanguageConfig[] = [
|
||||
{
|
||||
code: 'en-US',
|
||||
dataDir: 'en-US',
|
||||
title: 'STARSET Mirror Site Updates',
|
||||
description: 'Latest updates from STARSET Mirror Site'
|
||||
code: 'en',
|
||||
dataDir: 'en',
|
||||
title: 'Starset Mirror - Updates',
|
||||
description: 'Latest updates from Starset Mirror'
|
||||
},
|
||||
{
|
||||
code: 'zh-CN',
|
||||
dataDir: 'zh-CN',
|
||||
title: 'STARSET Mirror 项目动态',
|
||||
description: 'STARSET Mirror 最新动态'
|
||||
code: 'zh-Hans',
|
||||
dataDir: 'zh-Hans',
|
||||
title: 'Starset Mirror - 更新',
|
||||
description: 'Starset Mirror 的最新更新'
|
||||
},
|
||||
{
|
||||
code: 'zh-Hant',
|
||||
dataDir: 'zh-TW',
|
||||
title: 'STARSET Mirror 專案動态',
|
||||
description: 'STARSET Mirror 最新動態'
|
||||
dataDir: 'zh-Hant',
|
||||
title: 'Starset Mirror - 更新',
|
||||
description: 'Starset Mirror 的最新更新'
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import xml2js from 'xml2js';
|
|||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
const LANGUAGES = ['en-US', 'zh-CN', 'zh-TW'];
|
||||
const LANGUAGES = ['en', 'zh-Hans', 'zh-Hant'];
|
||||
const BASE_URL = 'mirror.starset.fans';
|
||||
|
||||
interface Update {
|
||||
|
|
|
@ -6,7 +6,7 @@ import xml2js from 'xml2js';
|
|||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
const LANGUAGES = ['en-US', 'zh-CN', 'zh-TW'];
|
||||
const LANGUAGES = ['en', 'zh-Hans', 'zh-Hant'];
|
||||
const BASE_URL = 'starset.wiki'; // Replace with your actual domain
|
||||
|
||||
async function getYearlyIndices(lang) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue