fix fallback

This commit is contained in:
peintnermax
2024-09-20 11:00:42 +02:00
parent 36650289a4
commit 36d91f23ac
2 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# ZITADEL TypeScript with Turborepo and Changesets
# ZITADEL TypeScript with Turborepo
This repository contains all TypeScript and JavaScript packages and applications you need to create your own ZITADEL
Login UI.

View File

@@ -36,8 +36,10 @@ import { unstable_cache } from "next/cache";
import { PROVIDER_MAPPING } from "./idp";
const SESSION_LIFETIME_S = 3600; // TODO load from oidc settings
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS =
Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS) ?? 3600;
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS = process.env
.CACHE_REVALIDATION_INTERVAL_IN_SECONDS
? Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS)
: 3600;
const transport = createServerTransport(
process.env.ZITADEL_SERVICE_USER_TOKEN!,