feat : update
This commit is contained in:
@@ -7,10 +7,6 @@ const nextConfig: NextConfig = {
|
||||
async headers() {
|
||||
return [{ source: "/:path*", headers: securityHeaders(process.env.NODE_ENV === "production", "https://cdn.jsdelivr.net") }];
|
||||
},
|
||||
async rewrites() {
|
||||
// The reset-password segment resolves to the dynamic guide route in this Next version.
|
||||
return { beforeFiles: [{ source: "/reset-password", destination: "/password-reset" }] };
|
||||
},
|
||||
cacheComponents: true,
|
||||
cacheHandlers: {
|
||||
remote: resolve(process.cwd(), "cache-handlers/redis-handler.cjs"),
|
||||
|
||||
Reference in New Issue
Block a user