feat update
CI / Verify (push) Successful in 2m50s
CI / Build immutable images and deploy (push) Successful in 2m49s

This commit is contained in:
2026-10-03 01:36:56 +07:00 Unverified
parent f23b69a280
commit 9555e0a884
11 changed files with 59 additions and 26 deletions
+4
View File
@@ -7,6 +7,10 @@ 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"),