Skip to content

Commit 9784088

Browse files
Update next.config.ts
1 parent ad22bce commit 9784088

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

next.config.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ const nextConfig: NextConfig = {
44
images: {
55
qualities: [75, 90],
66
},
7+
async redirects() {
8+
return [
9+
{
10+
source: '/about.html',
11+
destination: '/about',
12+
permanent: true,
13+
},
14+
{
15+
source: '/contact.html',
16+
destination: '/contact',
17+
permanent: true,
18+
},
19+
{
20+
source: '/gallery.html',
21+
destination: '/',
22+
permanent: true,
23+
},
24+
{
25+
source: '/faq.html',
26+
destination: '/#why-us',
27+
permanent: true,
28+
},
29+
{
30+
source: '/service-details.html',
31+
destination: '/services',
32+
permanent: true,
33+
},
34+
];
35+
},
736
};
837

938
export default nextConfig;

0 commit comments

Comments
 (0)