export interface LegacyGlobalRouteRedirect {
  readonly source: string;
  readonly destination: string;
  readonly permanent: false;
}

export const LEGACY_GLOBAL_ROUTE_REDIRECTS: readonly LegacyGlobalRouteRedirect[] =
  Object.freeze([
    {
      source: "/characters/:characterSlug/feedback",
      destination: "/feedback?returnTo=/characters/:characterSlug/chat",
      permanent: false,
    },
    {
      source: "/characters/:characterSlug/coins-rules",
      destination: "/coins-rules?returnTo=/characters/:characterSlug/chat",
      permanent: false,
    },
  ]);
