17 lines
268 B
TypeScript
17 lines
268 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
async rewrites() {
|
|
return {
|
|
afterFiles: [
|
|
{
|
|
source: "/cms/:path*",
|
|
destination: "/:path*",
|
|
},
|
|
],
|
|
};
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|