Skip to content

Commit

Permalink
fix(route): update radar in ncku/csie (#16926)
Browse files Browse the repository at this point in the history
  • Loading branch information
simbafs authored Sep 26, 2024
1 parent 6e99633 commit f72af1b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/routes/ncku/csie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ export const route: Route = {
},
radar: [
{
source: ['www.csie.ncku.edu.tw/zh-hant/news/:catagory?/', 'www.csie.ncku.edu.tw/en/news/:catagory?/'],
target: '/zh-hant/:catagory',
source: ['www.csie.ncku.edu.tw/zh-hant/news/'],
target: '/csie/_all',
},
{
source: ['www.csie.ncku.edu.tw/zh-hant/news/:catagory'],
target: '/csie/:catagory',
},
],
maintainers: ['simbafs'],
Expand Down Expand Up @@ -72,7 +76,7 @@ export const route: Route = {

return {
title: `成大資訊系公告 - ${catagories[catagory]}`,
link: `https://www.csie.ncku.edu.tw/zh-hant/${catagory}/`,
link: currentURL(catagory, base),
item,
};
},
Expand Down

0 comments on commit f72af1b

Please sign in to comment.