From 88ae8ef21da95005ef4b355f69a404f9bbe0b9cd Mon Sep 17 00:00:00 2001 From: Sakura Knoll Date: Mon, 9 May 2022 09:53:49 +0900 Subject: [PATCH] Fix rewrite order --- next.config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/next.config.js b/next.config.js index 0d46a975..1586d9a1 100644 --- a/next.config.js +++ b/next.config.js @@ -62,17 +62,17 @@ module.exports = { }, async rewrites() { return [ - { - source: '/honkai3rd/novels/ae', - destination: - process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/en-US/index.html', - }, { source: '/ko-KR/honkai3rd/novels/ae', destination: process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html', 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', destination: