-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.ts
33 lines (31 loc) · 864 Bytes
/
next.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
reactStrictMode: true,
async redirects() {
return [
{
source: "/dashboard/academic/courses/:courseId/:singlePath",
destination: "/dashboard/academic/courses/:courseId?view=:singlePath",
permanent: true,
},
{
source: "/dashboard/academic",
destination: "/dashboard/academic/courses",
permanent: true,
},
];
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "images.unsplash.com",
},
{
protocol: "https",
hostname: "cdn.kita.blue",
},
],
},
};
export default nextConfig;