chore: '/pst' 경로 '/cms'로 변경

This commit is contained in:
2025-07-01 09:16:55 +09:00
parent 2ee413e077
commit 74c2860342
2 changed files with 15 additions and 4 deletions
+12 -1
View File
@@ -1,5 +1,16 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {};
const nextConfig: NextConfig = {
async rewrites() {
return {
afterFiles: [
{
source: "/cms/:path*",
destination: "/:path*",
},
],
};
},
};
export default nextConfig;
+3 -3
View File
@@ -15,15 +15,15 @@ const nextConfig: NextConfig = {
{
type: "header",
key: "referer",
value: "(.*)/pst(.*)",
value: "(.*)/cms(.*)",
},
],
},
],
afterFiles: [
{
source: "/pst/:path*",
destination: `${subDomain}/pst/:path*`,
source: "/cms/:path*",
destination: `${subDomain}/cms/:path*`,
},
],
fallback: [],