mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Some checks failed
Code QA Roo Code / check-translations (push) Has been cancelled
Code QA Roo Code / knip (push) Has been cancelled
Code QA Roo Code / compile (push) Has been cancelled
Code QA Roo Code / platform-unit-test (ubuntu-latest) (push) Has been cancelled
Code QA Roo Code / platform-unit-test (windows-latest) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Nightly Publish / publish-nightly (push) Has been cancelled
Deploy roocode.com / check-secrets (push) Has been cancelled
Deploy roocode.com / deploy (push) Has been cancelled
* Remove pricing/enterprise and Roo Code for pages * Remove cloud team and router pages * Refine homepage hero and CTA sections * nav * more footer * Fix knip by removing orphaned web files
94 lines
1.8 KiB
TypeScript
94 lines
1.8 KiB
TypeScript
import path from "path"
|
|
import type { NextConfig } from "next"
|
|
|
|
const nextConfig: NextConfig = {
|
|
turbopack: {
|
|
root: path.join(__dirname, "../.."),
|
|
},
|
|
async redirects() {
|
|
return [
|
|
// Redirect www to non-www
|
|
{
|
|
source: "/:path*",
|
|
has: [{ type: "host", value: "www.roocode.com" }],
|
|
destination: "https://roocode.com/:path*",
|
|
permanent: true,
|
|
},
|
|
// Redirect HTTP to HTTPS
|
|
{
|
|
source: "/:path*",
|
|
has: [{ type: "header", key: "x-forwarded-proto", value: "http" }],
|
|
destination: "https://roocode.com/:path*",
|
|
permanent: true,
|
|
},
|
|
// Redirect cloud waitlist to Notion page (kept for extension compatibility)
|
|
{
|
|
source: "/cloud-waitlist",
|
|
destination: "https://roo-code.notion.site/238fd1401b0a8087b858e1ad431507cf?pvs=105",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/extension",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/provider/pricing",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/pricing",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/provider",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/cloud",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/cloud/team",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/enterprise",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/slack",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/linear",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/reviewer",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/pr-fixer",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/github",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|