Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+6
-3
@@ -1,11 +1,14 @@
|
||||
import { LoaderFunctionArgs, redirect } from "react-router";
|
||||
import { LoaderFunctionArgs } from "react-router";
|
||||
|
||||
import UrlUtils from "~/utils/app/UrlUtils";
|
||||
import { requireAuth } from "~/utils/loaders.middleware";
|
||||
import { legacySettingsRedirect } from "./legacy-redirects.server";
|
||||
|
||||
export const loader = async ({ request, params }: LoaderFunctionArgs) => {
|
||||
await requireAuth({ request, params });
|
||||
return redirect(UrlUtils.currentTenantUrl(params, "settings/subscription"));
|
||||
// AK-SET-01: retargeted straight at the hub — pointing at the old
|
||||
// `settings/subscription` would now cost a second hop. Routed through the
|
||||
// shared helper so the query string survives like on every other legacy path.
|
||||
return legacySettingsRedirect({ request, params }, "settings/billing");
|
||||
};
|
||||
|
||||
export default function RemovedCreditsRoute() {
|
||||
|
||||
Reference in new issue
Block a user