diff --git a/next.config.mjs b/next.config.mjs index 5aefc0f..b121383 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -10,7 +10,7 @@ const nextConfig = { }, { source: '/', - destination: '/vol/list/all', + destination: '/music/all', }, ]; }, @@ -18,7 +18,7 @@ const nextConfig = { // return [ // { // source: '/', - // destination: '/vol/list/all', + // destination: '/music/all', // permanent: true, // }, // ]; diff --git a/src/app/vol/list/[category]/[[...page]]/page.tsx b/src/app/music/[category]/[[...page]]/page.tsx similarity index 95% rename from src/app/vol/list/[category]/[[...page]]/page.tsx rename to src/app/music/[category]/[[...page]]/page.tsx index 95b92d3..4b2d906 100644 --- a/src/app/vol/list/[category]/[[...page]]/page.tsx +++ b/src/app/music/[category]/[[...page]]/page.tsx @@ -86,7 +86,7 @@ export default async function Journal({ params }: { params: { category?: string; total={journalList?.total} pageSize={10} current={page} - link={`/vol/list/${category}`} + link={`/music/${category}`} /> diff --git a/src/app/vol/[journalId]/page.tsx b/src/app/vol/[journalId]/page.tsx index 34615fd..7d4cc09 100644 --- a/src/app/vol/[journalId]/page.tsx +++ b/src/app/vol/[journalId]/page.tsx @@ -34,7 +34,7 @@ export default async function JournalDetail({ params: { journalId } }: { params: {journalInfo?.tags.length > 0 && journalInfo.tags.map((tag: string) => ( // diff --git a/src/components/Category.tsx b/src/components/Category.tsx index c98be7a..0143d5b 100644 --- a/src/components/Category.tsx +++ b/src/components/Category.tsx @@ -5,7 +5,7 @@ const Category = async ({ list, current }: { list: Category[]; current: string }