Restructure ae novel data

This commit is contained in:
Sakura Knoll
2022-05-02 21:34:04 +09:00 Unverified
parent 159e12699b
commit e44aa17e3e
47 changed files with 196 additions and 1413 deletions
+20
View File
@@ -53,6 +53,26 @@ module.exports = {
destination: '/honkai3rd/battlesuits/rc',
permanent: true,
},
{
source: '/novels/ae/index.html',
destination: '/honkai3rd/novels/ae',
permanent: false,
},
]
},
async rewrites() {
return [
{
source: '/honkai3rd/novels/ae',
destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html',
},
{
source: '/ko-KR/honkai3rd/novels/ae',
destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html',
locale: false,
},
]
},
i18n,