Skip to content

Commit

Permalink
chore: use public kratos url with redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
miran248 committed Aug 27, 2023
1 parent 5ff18af commit 6a0935d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/website/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const App = () => (
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<Meta />
<Links />
</head>
Expand Down
3 changes: 2 additions & 1 deletion src/website/app/routes/api.webhooks.oidc.$.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { redirect } from "remix-typedjson";
import { sessionStorage } from "~/session.server";
import { loaderGuard } from "~/utils";

const kratosUrl = process.env.KRATOS_PUBLIC_ENDPOINT;
// const kratosUrl = process.env.KRATOS_PUBLIC_ENDPOINT;
const kratosUrl = "https://public-kratos.248.sh";

export const loader = async ({ params, request }: LoaderArgs) => {
const guard = await loaderGuard(request);
Expand Down

0 comments on commit 6a0935d

Please sign in to comment.