Skip to content

Commit

Permalink
fix: adjusted next.config.ts for debuggin
Browse files Browse the repository at this point in the history
Adjusted the next.config.ts environment variables after debugging faults
  • Loading branch information
hbabb committed Dec 7, 2024
1 parent 81e2a4d commit 9db7fa1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import { withSentryConfig } from "@sentry/nextjs";
import type { NextConfig } from "next";
import "./src/env/server";
import { env } from "./src/env/server";

const nextConfig: NextConfig = {
experimental: {
typedRoutes: true,
},
env: {
KINDE_SITE_URL: `https://${process.env.VERCEL_URL}`,
KINDE_SITE_URL: process.env.KINDE_SITE_URL ?? `https://${process.env.VERCEL_URL}`,
KINDE_POST_LOGOUT_REDIRECT_URL:
env.KINDE_POST_LOGOUT_REDIRECT_URL ?? `https://${process.env.VERCEL_URL}/login`,
process.env.KINDE_POST_LOGOUT_REDIRECT_URL ?? `https://${process.env.VERCEL_URL}/login`,
KINDE_POST_LOGIN_REDIRECT_URL:
env.KINDE_POST_LOGIN_REDIRECT_URL ?? `https://${process.env.VERCEL_URL}/dashboard`,
process.env.KINDE_POST_LOGIN_REDIRECT_URL ?? `https://${process.env.VERCEL_URL}/dashboard`,
},
};

Expand Down

0 comments on commit 9db7fa1

Please sign in to comment.