From ea3d58fa7dacce97ae83926c0c87aa3441972ad0 Mon Sep 17 00:00:00 2001 From: lekss361 Date: Mon, 11 May 2026 19:49:26 +0300 Subject: [PATCH] feat(routing): /sf -> /site-finder permanent redirect (short URL alias) --- frontend/next.config.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frontend/next.config.ts b/frontend/next.config.ts index a9dac3b2..891ee6d7 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -22,6 +22,17 @@ const nextConfig: NextConfig = { { source: "/health", destination: `${backend}/health` }, ]; }, + // /sf — короткий алиас для /site-finder (legacy short URL). + async redirects() { + return [ + { source: "/sf", destination: "/site-finder", permanent: true }, + { + source: "/sf/:path*", + destination: "/site-finder/:path*", + permanent: true, + }, + ]; + }, }; export default nextConfig;