fix(radar): update radar sources for multiple routes
This commit is contained in:
@@ -10,7 +10,11 @@ export const route: Route = {
|
||||
path: '/',
|
||||
radar: [
|
||||
{
|
||||
source: ['www.50forum.org.cn/portal/list/index.html?id=6', '50forum.org.cn/'],
|
||||
source: ['www.50forum.org.cn/portal/list/index.html?id=6'],
|
||||
target: '',
|
||||
},
|
||||
{
|
||||
source: ['50forum.org.cn/'],
|
||||
target: '',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -19,7 +19,10 @@ export const route: Route = {
|
||||
},
|
||||
radar: [
|
||||
{
|
||||
source: ['www.bilibili.com/', 'm.bilibili.com/'],
|
||||
source: ['www.bilibili.com/'],
|
||||
},
|
||||
{
|
||||
source: ['m.bilibili.com/'],
|
||||
},
|
||||
],
|
||||
name: '热搜',
|
||||
|
||||
@@ -20,7 +20,15 @@ export const route: Route = {
|
||||
},
|
||||
radar: [
|
||||
{
|
||||
source: ['ow.blizzard.cn', 'wow.blizzard.cn', 'hs.blizzard.cn'],
|
||||
source: ['ow.blizzard.cn'],
|
||||
target: '/news-cn/',
|
||||
},
|
||||
{
|
||||
source: ['wow.blizzard.cn'],
|
||||
target: '/news-cn/',
|
||||
},
|
||||
{
|
||||
source: ['hs.blizzard.cn'],
|
||||
target: '/news-cn/',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -25,12 +25,11 @@ export const route: Route = {
|
||||
},
|
||||
// Innovation, Science and Economic Development Canada
|
||||
{
|
||||
source: [
|
||||
'ised-isde.canada.ca/site/ised/:lang',
|
||||
'ised-isde.canada.ca/site/isde/:lang',
|
||||
'www.canada.ca/:lang/innovation-science-economic-development/news/*',
|
||||
'www.canada.ca/:lang/innovation-sciences-developpement-economique/nouvelles/*',
|
||||
],
|
||||
source: ['ised-isde.canada.ca/site/ised/:lang', 'ised-isde.canada.ca/site/isde/:lang'],
|
||||
target: '/news/:lang/departmentofindustry',
|
||||
},
|
||||
{
|
||||
source: ['www.canada.ca/:lang/innovation-science-economic-development/news/*', 'www.canada.ca/:lang/innovation-sciences-developpement-economique/nouvelles/*'],
|
||||
target: '/news/:lang/departmentofindustry',
|
||||
},
|
||||
// All news
|
||||
|
||||
@@ -23,7 +23,11 @@ export const route: Route = {
|
||||
},
|
||||
radar: [
|
||||
{
|
||||
source: ['dianping.com/member/:id', 'm.dianping.com/userprofile/:id'],
|
||||
source: ['dianping.com/member/:id'],
|
||||
target: '/dianping/user/:id',
|
||||
},
|
||||
{
|
||||
source: ['m.dianping.com/userprofile/:id'],
|
||||
target: '/dianping/user/:id',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -24,7 +24,11 @@ export const route: Route = {
|
||||
},
|
||||
radar: [
|
||||
{
|
||||
source: ['www.jumeili.cn/', 'jumeili.cn/'],
|
||||
source: ['www.jumeili.cn/'],
|
||||
target: '/home/:column?',
|
||||
},
|
||||
{
|
||||
source: ['jumeili.cn/'],
|
||||
target: '/home/:column?',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -30,7 +30,10 @@ export const route: Route = {
|
||||
},
|
||||
radar: [
|
||||
{
|
||||
source: ['konachan.com/post', 'konachan.net/post'],
|
||||
source: ['konachan.com/post'],
|
||||
},
|
||||
{
|
||||
source: ['konachan.net/post'],
|
||||
},
|
||||
],
|
||||
name: 'Popular Recent Posts',
|
||||
|
||||
@@ -125,11 +125,18 @@ export const route: Route = {
|
||||
features: {
|
||||
supportRadar: true,
|
||||
},
|
||||
radar: Object.entries(typeDic).map(([type, value]) => ({
|
||||
title: `${value.title}动态`,
|
||||
source: [`${type}.neea.edu.cn`, `${type}.neea.cn`],
|
||||
target: `/local/${type}`,
|
||||
})),
|
||||
radar: Object.entries(typeDic).flatMap(([type, value]) => [
|
||||
{
|
||||
title: `${value.title}动态`,
|
||||
source: [`${type}.neea.edu.cn`],
|
||||
target: `/local/${type}`,
|
||||
},
|
||||
{
|
||||
title: `${value.title}动态`,
|
||||
source: [`${type}.neea.cn`],
|
||||
target: `/local/${type}`,
|
||||
},
|
||||
]),
|
||||
handler,
|
||||
description: `| | 考试项目 | type |
|
||||
| ------------ | ----------------------------- | -------- |
|
||||
|
||||
@@ -49,7 +49,10 @@ export const route: Route = {
|
||||
},
|
||||
radar: [
|
||||
{
|
||||
source: ['about.netflix.com/:region/newsroom', 'netflix.com'],
|
||||
source: ['about.netflix.com/:region/newsroom'],
|
||||
},
|
||||
{
|
||||
source: ['netflix.com'],
|
||||
},
|
||||
],
|
||||
name: 'Newsroom',
|
||||
|
||||
@@ -27,7 +27,10 @@ export const route: Route = {
|
||||
parameters: { category: '分类,见下表,默认为精选' },
|
||||
radar: [
|
||||
{
|
||||
source: ['panewslab.com/', 'www.panewslab.com/zh/profundity/index.html'],
|
||||
source: ['panewslab.com/'],
|
||||
},
|
||||
{
|
||||
source: ['www.panewslab.com/zh/profundity/index.html'],
|
||||
},
|
||||
],
|
||||
name: '深度',
|
||||
|
||||
Reference in New Issue
Block a user