-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.ts
More file actions
20 lines (18 loc) · 982 Bytes
/
Copy pathnext.config.ts
File metadata and controls
20 lines (18 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
async redirects() {
return [
{ source: "/layouts", destination: "/ko/layouts", permanent: false },
{ source: "/layouts/:path*", destination: "/ko/layouts/:path*", permanent: false },
{ source: "/styles", destination: "/ko/styles", permanent: false },
{ source: "/styles/:path*", destination: "/ko/styles/:path*", permanent: false },
{ source: "/studio", destination: "/ko/studio", permanent: false },
{ source: "/components", destination: "/ko/components", permanent: false },
{ source: "/web-layouts", destination: "/ko/layouts", permanent: true },
{ source: "/web-layouts/:path*", destination: "/ko/layouts/:path*", permanent: true },
{ source: "/design-styles", destination: "/ko/styles", permanent: true },
{ source: "/design-styles/:path*", destination: "/ko/styles/:path*", permanent: true },
];
},
};
export default nextConfig;