chore: cs rewrites 로직 제거
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const subDomain = process.env.NEXT_PUBLIC_SUB_DOMAIN;
|
||||
// const subDomain = process.env.NEXT_PUBLIC_SUB_DOMAIN;
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: "/board/:path*",
|
||||
destination: `${subDomain}/board/:path*`,
|
||||
},
|
||||
];
|
||||
},
|
||||
// async rewrites() {
|
||||
// return [
|
||||
// {
|
||||
// source: "/board/:path*",
|
||||
// destination: `${subDomain}/board/:path*`,
|
||||
// },
|
||||
// ];
|
||||
// },
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user