diff options
| author | Leitwolf | 2026-11-15 19:33:13 +0300 |
|---|---|---|
| committer | GitHub | 2026-11-15 19:33:13 +0300 |
| commit | 5f3faa1421b91cc6ccd5e68b4adfd05afc4114d9 (patch) | |
| tree | 8953b8ff1eeffe504497d770c0e206e47a3c06ec /apps/web/proxy.ts | |
| parent | 4413470b8fee9ea9911abbc2a1391d4d3b65e580 (diff) | |
| parent | aae4e692f5a39b70ca167e87ba0fdf030ec62d35 (diff) | |
| download | progmaweb-docs/code-of-conduct.tar.gz | |
Merge branch 'main' into docs/code-of-conductdocs/code-of-conduct
Diffstat (limited to 'apps/web/proxy.ts')
| -rw-r--r-- | apps/web/proxy.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/web/proxy.ts b/apps/web/proxy.ts index befb0f9..f82e370 100644 --- a/apps/web/proxy.ts +++ b/apps/web/proxy.ts @@ -204,14 +204,8 @@ function route(request: NextRequest, headers: Headers): NextResponse { internalRoute(request, "/viget/dslplugins/gradle"), ); } - // The languages are listed on the home page of ViGet. The Tala catalog is - // gone with Tala; its old addresses, which tala.run and earlier - // documentation link to, lead to the list as well. - if ( - pathname === "/langs" || - pathname === "/langs/" || - /^\/langs\/tala(\/.*)?$/.test(pathname) - ) { + // The languages are listed on the home page of ViGet. + if (pathname === "/langs" || pathname === "/langs/") { return NextResponse.redirect( new URL("https://viget.progmasoft.com/#languages-title"), 308, |