feat : update

This commit is contained in:
2026-10-03 14:51:40 +07:00 Unverified
parent 6ceff15e20
commit f5cfe0a22e
36 changed files with 47 additions and 70 deletions
-4
View File
@@ -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"),