Skip to content

Commit

Permalink
fix admin url to use Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner authored and benvinegar committed Dec 19, 2024
1 parent 7216053 commit 27cd4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/admin-redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { LoaderFunctionArgs, redirect } from "@remix-run/cloudflare";

export const loader = async ({ context }: LoaderFunctionArgs) => {
return redirect(
`https://dash.cloudflare.com/${context.cloudflare.env.CF_ACCOUNT_ID}/workers/services/view/counterscale/production`,
`https://dash.cloudflare.com/${context.cloudflare.env.CF_ACCOUNT_ID}/pages/view/counterscale`,
);
};

0 comments on commit 27cd4cb

Please sign in to comment.