We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe5fa31 commit 1171349Copy full SHA for 1171349
www/next.config.js
@@ -107,6 +107,19 @@ module.exports = {
107
destination: "/docs/api/:path*",
108
permanent: true,
109
},
110
+ {
111
+ source: "/api/:path*.html",
112
+ destination: "/api/:path*",
113
+ permanent: true,
114
+ },
115
+ ]
116
117
+ async rewrites() {
118
+ return [
119
120
+ source: "/api/:slug*",
121
+ destination: "/api/:slug*.html", // Matched parameters can be used in the destination
122
123
]
124
125
}
0 commit comments