Fix rewrite order

This commit is contained in:
Sakura Knoll
2022-05-09 09:53:49 +09:00 Unverified
parent 9e8bd703a5
commit 88ae8ef21d
+5 -5
View File
@@ -62,17 +62,17 @@ module.exports = {
}, },
async rewrites() { async rewrites() {
return [ return [
{
source: '/honkai3rd/novels/ae',
destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/en-US/index.html',
},
{ {
source: '/ko-KR/honkai3rd/novels/ae', source: '/ko-KR/honkai3rd/novels/ae',
destination: destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html', process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html',
locale: false, locale: false,
}, },
{
source: '/honkai3rd/novels/ae',
destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/en-US/index.html',
},
{ {
source: '/ko-KR/honkai3rd/novels/duriduri', source: '/ko-KR/honkai3rd/novels/duriduri',
destination: destination: