Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔧 Make redirect non-permament
Luke Vella35924b224033
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 566fee544..52a4eea49 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -69,7 +69,7 @@ const nextConfig = {{source: "/account/billing",destination: "/settings/billing",- permanent: true,+ permanent: false,},];},diff --git a/apps/web/src/app/[locale]/account/components/sidebar.tsx b/apps/web/src/app/[locale]/account/components/sidebar.tsxindex d332822f7..307446bc7 100644--- a/apps/web/src/app/[locale]/account/components/sidebar.tsx+++ b/apps/web/src/app/[locale]/account/components/sidebar.tsx@@ -6,7 +6,7 @@ import {SidebarMenuButton,SidebarMenuItem,} from "@rallly/ui/sidebar";-import { Settings2Icon, UserIcon } from "lucide-react";+import { CreditCardIcon, Settings2Icon, UserIcon } from "lucide-react";import Link from "next/link";import { usePathname } from "next/navigation";import { useTranslation } from "@/i18n/client";@@ -27,6 +27,12 @@ export function AccountSidebarMenu() {icon: <Settings2Icon />,href: "/account/preferences",},+ {+ id: "billing",+ label: t("billing", { defaultValue: "Billing" }),+ icon: <CreditCardIcon />,+ href: "/account/billing",+ },];return (<SidebarMenu>